From patchwork Thu Sep 15 10:45:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9333073 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 789CA6077F for ; Thu, 15 Sep 2016 10:45:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FC2229521 for ; Thu, 15 Sep 2016 10:45:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64AC529528; Thu, 15 Sep 2016 10:45:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, SUSPICIOUS_RECIPS, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E76AA29521 for ; Thu, 15 Sep 2016 10:45:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765396AbcIOKpb (ORCPT ); Thu, 15 Sep 2016 06:45:31 -0400 Received: from mail-qk0-f178.google.com ([209.85.220.178]:34424 "EHLO mail-qk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933879AbcIOKna (ORCPT ); Thu, 15 Sep 2016 06:43:30 -0400 Received: by mail-qk0-f178.google.com with SMTP id h8so42681444qka.1 for ; Thu, 15 Sep 2016 03:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kHMRX8q3GVIOfxFIoDL3uJpaurxQ4mJRy+2iVbyaJ8I=; b=ex7FfN3po+zsXfvZiLxERuOBg2mJPyxTNSLoVEoYvlWwRXqchORvwyI+kN7W1ngC44 FSNDGKmBbXi3NqsyqEEEcz+jEEXpjE2LN2NYP9r4oAv+aUTYCjyC0gOUMJdi5qGYEuDg Dcet4wcJTjSgQnhE1LMln6mFo2JRF3Q3zhTiM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kHMRX8q3GVIOfxFIoDL3uJpaurxQ4mJRy+2iVbyaJ8I=; b=NKo9RCK2QaorX0BQ1NMF0axRJS0hZIOroC7H/fNFWErHvCzesjPZ5WptJwYkbuBJbj 63Rd6tTrOSQZ4eHmN/M/LU28skz/9Py525kEtO1ZPTMP8o15obJ5KRal/Bis5DeSndl+ 2rN9jHzRicNT/FJtLdgC31jg2KdF4OQUUK2CAuCJJ18phaYsBGsgNZUvdAOhWOBEHEWs ov/ae/Dy460hSXl7RNYes/4WqgbcPaPYl0R8cV7gbGu9ZvrhvSKUCMsyZA6ZveFLhnnj 8uYo/9J5hWqAJPtE4LiGZAPYnCEwGjnHqnhNIxfccCUMkazSCJBzgtonegXulioXgB94 8bQg== X-Gm-Message-State: AE9vXwMGIHpE8ZOjfmbofdSjUUDA7T837XWwafcdGP392mADJM4KJIw3SKQpt4i+9QNeWrBU X-Received: by 10.194.80.104 with SMTP id q8mr7419657wjx.83.1473936209778; Thu, 15 Sep 2016 03:43:29 -0700 (PDT) Received: from dell.home (host31-51-85-248.range31-51.btcentralplus.com. [31.51.85.248]) by smtp.gmail.com with ESMTPSA id e2sm2861231wjn.11.2016.09.15.03.43.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 03:43:29 -0700 (PDT) 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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;