summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-mux.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2013-04-29 16:17:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:28:17 -0700
commit359177e0606d9b80d89f877ddd36d82b32a0cb72 (patch)
treeeb73dcab7db1f42e9e1cbafc045f16ebe8b56afd /drivers/i2c/i2c-mux.c
parentd50d1ddbc0730fd341ab4fc7575ae4f6a84dfc7a (diff)
downloadop-kernel-dev-359177e0606d9b80d89f877ddd36d82b32a0cb72.zip
op-kernel-dev-359177e0606d9b80d89f877ddd36d82b32a0cb72.tar.gz
drivers/video/backlight/adp5520_bl.c: fix compiler warning in adp5520_show()
While compiling with make W=1 (gcc gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)) the following warning happens: drivers/video/backlight/adp5520_bl.c: In function `adp5520_show': drivers/video/backlight/adp5520_bl.c:146:6: warning: variable `error' set but not used [-Wunused-but-set-variable] fixed by checking the return value of the variable Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Acked-by: Jingoo Han <jg1.han@samsung.com> Cc: Michael Hennerich <michael.hennerich@analog.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/i2c/i2c-mux.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud