Javier Martinez Canillas
a20cd88e20
rtc: max77686: Use ffs() to calculate tm_wday
...
max77686_rtc_calculate_wday() is used to calculate the day of the week
to be filled in struct rtc_time but that function only calculates the
number of bits shifted. So the ffs() function can be used to find the
first bit set instead of a special function.
[akpm@linux-foundation.org: add comment clarifying ffs() use]
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-10-14 02:18:19 +02:00
..
2014-10-09 16:07:43 -04:00
2014-09-30 01:16:44 +02:00
2014-10-10 07:23:11 -04:00
2014-10-14 02:18:12 +02:00
2014-10-09 14:58:15 -04:00
2014-10-13 11:28:42 +02:00
2014-10-13 11:28:42 +02:00
2014-10-08 17:37:16 -04:00
2014-10-13 11:28:42 +02:00
2014-10-14 02:18:18 +02:00
2014-10-09 06:35:05 -04:00
2014-10-11 20:34:00 -04:00
2014-10-13 16:23:15 +02:00
2014-10-08 06:44:48 -04:00
2014-09-29 20:22:36 +09:00
2014-10-07 20:39:25 -04:00
2014-10-09 02:39:07 -04:00
2014-10-10 22:07:55 -04:00
2014-10-09 22:26:00 -04:00
2014-10-09 14:58:15 -04:00
2014-10-13 16:23:15 +02:00
2014-10-09 14:58:15 -04:00
2014-10-03 08:19:02 -07:00
2014-10-09 16:07:43 -04:00
2014-10-13 11:28:42 +02:00
2014-10-11 20:29:01 -04:00
2014-10-08 05:27:39 -04:00
2014-10-09 15:03:49 -04:00
2014-10-08 21:40:54 -04:00
2014-10-10 16:40:14 -04:00
2014-09-25 23:14:37 +10:00
2014-10-13 16:23:15 +02:00
2014-10-10 22:04:49 -04:00
2014-10-07 21:29:18 -04:00
2014-10-10 16:40:14 -04:00
2014-10-13 11:28:42 +02:00
2014-10-11 06:34:22 -04:00
2014-10-13 11:28:42 +02:00
2014-10-07 14:48:29 -04:00
2014-10-11 06:47:50 -04:00
2014-10-13 16:23:15 +02:00
2014-10-11 20:29:01 -04:00
2014-10-09 14:58:15 -04:00
2014-10-12 09:30:38 -04:00
2014-10-10 16:38:02 -04:00
2014-09-30 13:50:31 +01:00
2014-10-14 02:18:19 +02:00
2014-10-13 16:23:15 +02:00
2014-10-13 16:23:15 +02:00
2014-10-08 17:37:16 -04:00
2014-10-09 16:07:43 -04:00
2014-10-09 14:58:15 -04:00
2014-10-13 16:23:15 +02:00
2014-10-13 16:23:15 +02:00
2014-10-13 11:28:42 +02:00
2014-10-11 06:49:24 -04:00
2014-10-11 20:29:01 -04:00
2014-10-09 22:26:01 -04:00
2014-10-10 16:40:14 -04:00
2014-10-11 20:29:01 -04:00