drivers/rtc/rtc-pcf8583.c: move assignment outside if condition
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:06:02 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:48 +0000 (16:07 -0700)
commitd1bda80afd36c5eeb79a8f5a53c9b3e23350d3a9
treea730017a51c58678c45cdad5dd907e3d44f4f7c2
parent369015fbd40655f86384a3e7d5452f9c61eb26e9
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcf8583.c