]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-pcf8583.c: move assignment outside if condition
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 19 Jun 2013 00:07:31 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:12 +0000 (17:27 +1000)
commit2cbdfda61a095943308b62e378440bb5aea5394a
tree80d2132f4a84e78af0254747c8805ebcf363db83
parenta709af253416f86fd710b62e07e4d6018b578cf9
drivers/rtc/rtc-pcf8583.c: move assignment outside if condition

Fixes the following checkpatch error:
ERROR: do not use assignment in if condition

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-pcf8583.c