summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2014-03-16 02:43:27 +0100
committerLee Jones <lee.jones@linaro.org>2014-03-18 08:13:39 +0000
commit99be0245c8869cbd7b9c0ab3f093f41c60362f91 (patch)
tree1c5bbe4f7bd25b327272345802dc7ddf6aa9aec2 /include
parent2f39b70fef194a54c9decd8687bb05d576afebe5 (diff)
downloadlinux-99be0245c8869cbd7b9c0ab3f093f41c60362f91.tar.gz
linux-99be0245c8869cbd7b9c0ab3f093f41c60362f91.tar.bz2
linux-99be0245c8869cbd7b9c0ab3f093f41c60362f91.zip
mfd: twl4030-madc: Cleanup driver
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron <jic23@kernel.org> Reported-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sebastian Reichel <sre@debian.org> Acked-by: Jonathan Cameron <jic23@kernel.org> Tested-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c/twl4030-madc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c/twl4030-madc.h b/include/linux/i2c/twl4030-madc.h
index 01f595107048..1c0134dd3271 100644
--- a/include/linux/i2c/twl4030-madc.h
+++ b/include/linux/i2c/twl4030-madc.h
@@ -44,7 +44,7 @@ struct twl4030_madc_conversion_method {
struct twl4030_madc_request {
unsigned long channels;
- u16 do_avg;
+ bool do_avg;
u16 method;
u16 type;
bool active;