From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933640AbcIOKpa (ORCPT ); Thu, 15 Sep 2016 06:45:30 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:35338 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933877AbcIOKna (ORCPT ); Thu, 15 Sep 2016 06:43:30 -0400 From: Lee Jones To: linus.walleij@linaro.org, tony@atomide.com, linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int' Date: Thu, 15 Sep 2016 11:45:20 +0100 Message-Id: <20160915104521.14286-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160915104521.14286-1-lee.jones@linaro.org> References: <20160915104521.14286-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change from 'const int' to just 'int'. Cc: Signed-off-by: Lee Jones --- drivers/mfd/omap-usb-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 1d924d1..7aab376 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -162,7 +162,7 @@ static const char * const port_modes[] = { * provided port mode string as per the port_modes table. * If no match is found it returns -ENODEV */ -static const int omap_usbhs_get_dt_port_mode(const char *mode) +static int omap_usbhs_get_dt_port_mode(const char *mode) { int i; -- 2.9.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Thu, 15 Sep 2016 11:45:20 +0100 Subject: [PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int' In-Reply-To: <20160915104521.14286-1-lee.jones@linaro.org> References: <20160915104521.14286-1-lee.jones@linaro.org> Message-ID: <20160915104521.14286-7-lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Change from 'const int' to just 'int'. Cc: Signed-off-by: Lee Jones --- drivers/mfd/omap-usb-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 1d924d1..7aab376 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -162,7 +162,7 @@ static const char * const port_modes[] = { * provided port mode string as per the port_modes table. * If no match is found it returns -ENODEV */ -static const int omap_usbhs_get_dt_port_mode(const char *mode) +static int omap_usbhs_get_dt_port_mode(const char *mode) { int i; -- 2.9.3