diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-04-25 19:30:39 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-26 07:07:43 -0400 |
commit | de06f22f717b30641229036439b804ae79a7ad4d (patch) | |
tree | 20f7a648cc512962f534ce3cc11179d41419d371 | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
ASoC: cs42l56: Use IS_ENABLED() instead of checking for built-in or module
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/cs42l56.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c index 7cd5f769bb61..eec1ff853b98 100644 --- a/sound/soc/codecs/cs42l56.c +++ b/sound/soc/codecs/cs42l56.c | |||
@@ -56,7 +56,7 @@ struct cs42l56_private { | |||
56 | u8 iface; | 56 | u8 iface; |
57 | u8 iface_fmt; | 57 | u8 iface_fmt; |
58 | u8 iface_inv; | 58 | u8 iface_inv; |
59 | #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE) | 59 | #if IS_ENABLED(CONFIG_INPUT) |
60 | struct input_dev *beep; | 60 | struct input_dev *beep; |
61 | struct work_struct beep_work; | 61 | struct work_struct beep_work; |
62 | int beep_rate; | 62 | int beep_rate; |