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: 76267 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp2367565qgf; Thu, 15 Sep 2016 03:45:32 -0700 (PDT) X-Received: by 10.98.156.26 with SMTP id f26mr13338646pfe.118.1473936332147; Thu, 15 Sep 2016 03:45:32 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20si3708486pal.165.2016.09.15.03.45.31; Thu, 15 Sep 2016 03:45:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765396AbcIOKpb (ORCPT + 4 others); 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 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(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;