summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-06-18 12:29:49 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-06-19 14:38:38 +0200
commite305062e94719ef543ae936dd56501b5a36406c6 (patch)
treedc6bcb323371eea302f54db478e1d8b34c2b5fa3 /scripts/checkpatch.pl
parentgpio-rcar: Reference core gpio documentation in the DT bindings (diff)
downloadlinux-e305062e94719ef543ae936dd56501b5a36406c6.tar.xz
linux-e305062e94719ef543ae936dd56501b5a36406c6.zip
gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections
All functions and data types used by OF-specific code paths are declared in <linux/of.h> regardless of CONFIG_OF. Replace the #ifdef CONFIG_OF guard with a if(IS_ENABLED(CONFIG_OF)) and let the compiler optimize the unused code away. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions