drivers/rtc/rtc-x1205.c: fix checkpatch issues
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:06:07 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:48 +0000 (16:07 -0700)
commit66e3f10c993845e0118f4232911b40068ad91886
tree6ea47470dd3a4b332b598f2813815cfc8dd6bbb9
parent0218bcf658d0faf98582856b7176e25bdf3fd129
drivers/rtc/rtc-x1205.c: fix checkpatch issues

Fixes the following types of issues:

  ERROR: do not use assignment in if condition
  ERROR: open brace '{' following struct go on the same line
  ERROR: else should follow close brace '}'
  WARNING: please, no space before tabs

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-x1205.c