Message ID | 20180119064043.18241-1-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp158474ljf; Thu, 18 Jan 2018 22:43:00 -0800 (PST) X-Google-Smtp-Source: ACJfBosa3V/7nprwErnfEJIHrwata15qlgrnECdj2N3e3RSNpM02vkb/kYNa7DTp396dq0e1uXF+ X-Received: by 10.99.8.135 with SMTP id 129mr39351830pgi.2.1516344180402; Thu, 18 Jan 2018 22:43:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516344180; cv=none; d=google.com; s=arc-20160816; b=ASK0899SAvdT1hC3hiDFq4seUn76boGQCFlW/5MKWzCg79RygtnHPkBr8VX06rb+Ey gO4loo94HN4i2kG6b/6+EZ6OF7GzUBWj6S1gdGOu1LpCdd+bJxXDZULBg3lUoRFLsr7p LbYT9hRs2BXebO0iYmQ9XRfDzjoj+6FORw4CMvx4dnkh2+5AB24uaPqJF2BmaUvUQxeZ /vz2dhxA+ih7CUnUa8ExuuJCr2ki8kSmL2g434+S+RBDLljEds/u2m2OokfnFkeMBXps Wz0SziFJbI8Oh0uFn3vBsY6KG7+NpmPQXTHnjRGT9T6VSVjvhTuyNg1455nyDvO8QKYp Jg3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=0b1YBjc6aip47oHihg06maBHJ+g704HDsQ6A7iU0nLc=; b=ongZ/bJsW0VuKfmBP2QeJwws21z0iyjGF8RpSFjnXjga57tNgfpjWp0aEVaK5IPN7M 58FA/ODA/cRL06LaFOWjD1KHh9wGmX90SOp7plmmSHaq2xsuP4+jCMiA0t322N35qlZU /Evhw6bHiFEG5aX+Q4WiJFYA0934hmN+NxLnmYyxcq/P5teGXSBVDrCgcvkbU58DrRa+ MrAbG16bie8svqQQ9iMNlwfnWPPOWy1wqdVWT1fWa+Y/CiTciwOz/tyjwIaFtKd49P0a FcWIplw4wyoi24MUznoS9ZsDOlwPUOgzcu3r3xd2kz0Hz/xa/MMOz53gFnbbrCooFF8+ y1Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LezvzskS; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-gpio-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si588177plw.300.2018.01.18.22.42.59; Thu, 18 Jan 2018 22:43:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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 header.s=google header.b=LezvzskS; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753764AbeASGm6 (ORCPT <rfc822; manivannan.sadhasivam@linaro.org> + 6 others); Fri, 19 Jan 2018 01:42:58 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:42403 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751282AbeASGm5 (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Fri, 19 Jan 2018 01:42:57 -0500 Received: by mail-lf0-f66.google.com with SMTP id q17so804318lfa.9 for <linux-gpio@vger.kernel.org>; Thu, 18 Jan 2018 22:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Pg3NkGXrMpuMFZJ+xj8lGK53+TjYyF2TSiQn7jrNp6o=; b=LezvzskSbXM0mbabqQvInPnIpCTNeo7Rs2pwFhZq+HgIcGPYGTuRzK3vhocz4bifBC pa4IPhTA4N643DVZyraSKEk/hrL3SHjjQaSpgo/jFVi8WMkN2yzT3nSRtrXc12GOIYov r1ze8bmsE2U+1aFpPp2GlP3YJ8wTfXWXB6y3g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Pg3NkGXrMpuMFZJ+xj8lGK53+TjYyF2TSiQn7jrNp6o=; b=osuhY1EIvlgnl8l1AdPEpHDIghUOIs1mAtYzYh8AjpsOaekcArf+/O3FF0BfVejgad nXpaB7SSLge3AjPU50bWxQOhT6gLtH6DmyopVOc6t3GBzPcFMTa6GkNh1VAyIZKaUmAX X3w4vh0GRLBZhahLAGJePq4fm1tUGNQGoYBJ38p4Yox4X1SnkE/v49E15oHzQxqDJHw7 2tuhmQVYo27jeB+qugDW4G6Rq8XIQACUTg5tCb6NmT9IPnacB1k5wupbFYxZYv8PKIgU 4/8ArpSFUHQeywWZZnwyETkB/iQRrPZ//JojFEGTwfmrZzVYu0rYWLKaoXQaEwngqdMM 80Hw== X-Gm-Message-State: AKwxytf0vkCCeHum1FxsFOzsEcxyM51xzkI69uVhmEzxJsbOfchPfY2S VAhwj58vnvjzUGIBA+i4YtTbmPn1cVw= X-Received: by 10.25.217.210 with SMTP id s79mr11528351lfi.73.1516344175760; Thu, 18 Jan 2018 22:42:55 -0800 (PST) Received: from localhost.localdomain (c-cb7471d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.116.203]) by smtp.gmail.com with ESMTPSA id w13sm1633073ljw.69.2018.01.18.22.42.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2018 22:42:49 -0800 (PST) From: Linus Walleij <linus.walleij@linaro.org> To: linux-gpio@vger.kernel.org Cc: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 01/12] gpio: 74x174: Include proper headers Date: Fri, 19 Jan 2018 07:40:32 +0100 Message-Id: <20180119064043.18241-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
[01/12] gpio: 74x174: Include proper headers
|
expand
|
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index 6b535ec858cc..3c25f504a784 100644 --- a/drivers/gpio/gpio-74x164.c +++ b/drivers/gpio/gpio-74x164.c @@ -9,12 +9,11 @@ * published by the Free Software Foundation. */ -#include <linux/gpio/consumer.h> #include <linux/init.h> #include <linux/mutex.h> #include <linux/spi/spi.h> -#include <linux/gpio.h> -#include <linux/of_gpio.h> +#include <linux/gpio/driver.h> +#include <linux/gpio/consumer.h> #include <linux/slab.h> #include <linux/module.h>
This driver has no business including <linux/gpio.h> or <linux/of_gpio.h>. Cut them and include <linux/gpio/driver.h> and <linux/gpio/consumer.h> which is it they really needs. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/gpio/gpio-74x164.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html