Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755078AbcCWLYm (ORCPT ); Wed, 23 Mar 2016 07:24:42 -0400 Received: from lists.s-osg.org ([54.187.51.154]:56486 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754934AbcCWLYY (ORCPT ); Wed, 23 Mar 2016 07:24:24 -0400 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: lgirdwood@gmail.com, broonie@kernel.org, Luis de Bethencourt Subject: [PATCH 1/2] regulator: add missing description for set_over_current_protection Date: Wed, 23 Mar 2016 11:24:16 +0000 Message-Id: <1458732256-29068-1-git-send-email-luisbg@osg.samsung.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1458732204-28657-1-git-send-email-luisbg@osg.samsung.com> References: <1458732204-28657-1-git-send-email-luisbg@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 25 Operation set_over_current_protection of regulator_ops is missing a description for documentation. Fixes: 3a003baeec24 ("regulator: Add over current protection (OCP) support") Signed-off-by: Luis de Bethencourt --- include/linux/regulator/driver.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index cd271e8..8ea86dc 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -93,6 +93,9 @@ struct regulator_linear_range { * @get_current_limit: Get the configured limit for a current-limited regulator. * @set_input_current_limit: Configure an input limit. * + * @set_over_current_protection: Support capability of automatically shutting + * down when detecting an over current event. + * * @set_active_discharge: Set active discharge enable/disable of regulators. * * @set_mode: Set the configured operating mode for the regulator. -- 2.5.1