aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2015-10-02 13:29:14 +0100
committerLee Jones <[email protected]>2015-10-30 17:20:29 +0000
commitb61c1ec058dabdcbddad7436bb4c009a8fa65b02 (patch)
treeb5e851f1a183bc840fc18cec18321d967d0ad81b /lib/netdev-notifier-error-inject.c
parentae05ea36d1c9bdc76a4539277d96f5bdf3d39f02 (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 <[email protected]> Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions