rtc-s3c: Use is_power_of_2() macro for simplicity.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 6 Feb 2008 09:38:42 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:13 +0000 (10:41 -0800)
commit9974b6ea7b85a32f34f824443f47aa501c85ee8f
tree9ba16c56565ea083b663547f4c1c54c3feb87682
parent037e291cc77a4beb0379a8c74e3d82e49a476b84
rtc-s3c: Use is_power_of_2() macro for simplicity.

Use is_power_of_2() macro for simplicity.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c