]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: m41t80: remove warnings and replace obsolete function
authorMylène Josserand <mylene.josserand@free-electrons.com>
Tue, 29 Mar 2016 06:56:02 +0000 (08:56 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 20 May 2016 10:33:51 +0000 (12:33 +0200)
commit21cd640178de9c821f9437290dc232454d4f76f6
treed70a95f19b2910957a30c80294d43e3f5f9e0cd7
parent1e50b4639964e1e502f57a56fdfd270307f0a1cb
rtc: m41t80: remove warnings and replace obsolete function

Replace the obsolete "simple_strtoul" function to "kstrtoul".
Remove some checkpatch's errors, warnings and checks :
   - alignment with open parenthesis
   - spaces around '<' and '<<'
   - blank line after structure
   - quoted string split across lines

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-m41t80.c