summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-spi.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-05-10 09:33:02 +0200
committerDave Airlie <airlied@redhat.com>2012-05-17 12:15:23 +0200
commitfcf92202e7bc2e8513ae045e3ec61e79c1c9e690 (patch)
treed518feb028130214aafc406c47b93f8791a85f0b /drivers/mfd/wm831x-spi.c
parentdrm/radeon: check kmalloc() for failures (diff)
downloadlinux-fcf92202e7bc2e8513ae045e3ec61e79c1c9e690.tar.xz
linux-fcf92202e7bc2e8513ae045e3ec61e79c1c9e690.zip
gma500: silence an unused variable warning
If CONFIG_BACKLIGHT_CLASS_DEVICE is disabled then GCC warns that: drivers/gpu/drm/gma500/opregion.c:154:6: warning: unused variable ‘max’ [-Wunused-variable] Which give me a chance to use the new config_enabled() macro. :) Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/mfd/wm831x-spi.c')
0 files changed, 0 insertions, 0 deletions