]> 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>
Thu, 23 May 2013 00:37:38 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:16 +0000 (16:09 +1000)
commit40ed342651adb8f23bba5c9e1db49518f29aa51d
treebc3356bfb940498a1998ccd38c2c25d9240941fa
parent2c8f801b52b6ca8756613bedc7ce842f233f6fc6
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