Return-Path: Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Stephen Warren" , "Baruch Siach" , "Linus Walleij" Date: Sun, 02 Aug 2015 01:02:37 +0100 Message-ID: Subject: [PATCH 3.2 007/164] pinctrl: fix example .get_group_pins implementation signature In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: 3.2.70-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Baruch Siach commit 838d030bda9e2da5f9dcf7251f4e117c6258cb2f upstream. The callback function signature has changed in commit a5818a8bd0 (pinctrl: get_group_pins() const fixes) Fixes: a5818a8bd0 ('pinctrl: get_group_pins() const fixes') Cc: Stephen Warren Signed-off-by: Baruch Siach Signed-off-by: Linus Walleij Signed-off-by: Ben Hutchings --- Documentation/pinctrl.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Documentation/pinctrl.txt +++ b/Documentation/pinctrl.txt @@ -164,8 +164,8 @@ static const char *foo_get_group_name(st } static int foo_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, - unsigned ** const pins, - unsigned * const num_pins) + const unsigned **pins, + unsigned *num_pins) { *pins = (unsigned *) foo_groups[selector].pins; *num_pins = foo_groups[selector].num_pins;