]> 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>
Fri, 7 Jun 2013 00:08:53 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:49 +0000 (15:42 +1000)
commit2648cd75e4048660dd6cdff620c3ff25779f7c7e
treec2192e1d8b6f19865f4c50290fe67cb52d2f615b
parent759088050957e1e556f1a112cc66b6c245c38cd8
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