diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-10-02 13:29:14 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 17:20:29 +0000 |
commit | b61c1ec058dabdcbddad7436bb4c009a8fa65b02 (patch) | |
tree | b5e851f1a183bc840fc18cec18321d967d0ad81b /arch/microblaze/lib | |
parent | ae05ea36d1c9bdc76a4539277d96f5bdf3d39f02 (diff) |
mfd: arizona: Remove use of codec build config #ifdefs
Remove the use of #ifdefs around each case statement of the chip ID
and type validation switches.
We must ensure that the contained code still compiles to nothing if
support for that codec was not built into the kernel, to prevent
creation of link references to missing functions. So the ifdefs are
replaced with a use of the IS_ENABLED() macro.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/microblaze/lib')
0 files changed, 0 insertions, 0 deletions