From: Jingoo Han <jg1.han@samsung.com>
To: "'Thierry Reding'" <thierry.reding@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org,
"'Jingoo Han'" <jg1.han@samsung.com>
Subject: [PATCH 7/7] pwm: don't use IS_ENABLED(CONFIG_HAVE_PWM)
Date: Mon, 10 Feb 2014 10:16:53 +0900 [thread overview]
Message-ID: <004001cf25fd$c8a11ff0$59e35fd0$%han@samsung.com> (raw)
In-Reply-To: <003901cf25fc$73002790$590076b0$%han@samsung.com>
The HAVE_PWM symbol is only for legacy platforms that provide
the PWM API without using the generic framework. However, legacy
PWM drivers were already moved to the generic PWM framework.
Thus, HAVE_PWM should be removed, because HAVE_PWM is not
required anymore.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
include/linux/pwm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/pwm.h b/include/linux/pwm.h
index f0feafd..4717f54 100644
--- a/include/linux/pwm.h
+++ b/include/linux/pwm.h
@@ -7,7 +7,7 @@
struct pwm_device;
struct seq_file;
-#if IS_ENABLED(CONFIG_PWM) || IS_ENABLED(CONFIG_HAVE_PWM)
+#if IS_ENABLED(CONFIG_PWM)
/*
* pwm_request - request a PWM device
*/
--
1.7.10.4
next prev parent reply other threads:[~2014-02-10 1:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 1:07 [PATCH 0/7] Remove HAVE_PWM config option Jingoo Han
2014-02-10 1:08 ` [PATCH 1/7] ARM: pxa: don't select HAVE_PWM Jingoo Han
2014-02-10 1:09 ` [PATCH 2/7] ARM: lpc32xx: " Jingoo Han
2014-02-10 9:49 ` Roland Stigge
2014-02-10 1:10 ` [PATCH 3/7] ARM: remove HAVE_PWM config option Jingoo Han
2014-02-10 1:12 ` [PATCH 4/7] MIPS: jz4740: don't select HAVE_PWM Jingoo Han
2014-02-11 12:08 ` Lars-Peter Clausen
2014-02-11 12:17 ` Jingoo Han
2014-02-10 1:15 ` [PATCH 5/7] Input: max8997_haptic: remove HAVE_PWM dependencies Jingoo Han
2014-02-10 1:16 ` [PATCH 6/7] Input: pwm-beepe: " Jingoo Han
2014-02-11 12:08 ` Lars-Peter Clausen
2014-02-11 12:18 ` Jingoo Han
2014-02-10 1:16 ` Jingoo Han [this message]
2014-02-11 3:02 ` [PATCH 0/7] Remove HAVE_PWM config option Jingoo Han
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004001cf25fd$c8a11ff0$59e35fd0$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox