aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/sysfs.c
AgeCommit message (Collapse)AuthorFilesLines
2020-03-16rtc: sysfs: use kobj_to_devsuguosong1-1/+1
use kobj_to_dev instead of open-conding it Signed-off-by: suguosong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
2019-11-27rtc: sysfs: fix hctosys_show kerneldocAlexandre Belloni1-1/+4
Fix undocumented function parameters: drivers/rtc/sysfs.c:112: warning: Function parameter or member 'dev' not described in 'hctosys_show' drivers/rtc/sysfs.c:112: warning: Function parameter or member 'attr' not described in 'hctosys_show' drivers/rtc/sysfs.c:112: warning: Function parameter or member 'buf' not described in 'hctosys_show' Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
2019-04-04rtc: core: correct trivial checkpatch warningsAlexandre Belloni1-9/+7
Correct trivial checkpatch warnings, mostly whitespace issues and unbalanced braces. Signed-off-by: Alexandre Belloni <[email protected]>
2019-03-18rtc: convert core to SPDX identifierAlexandre Belloni1-5/+2
Use SPDX-License-Identifier instead of a verbose license text. Also fix the block comment alignment. Signed-off-by: Alexandre Belloni <[email protected]>
2018-12-31rtc: rename core filesAlexandre Belloni1-0/+358
Rename core files so there is a clearer separation between the RTC core and the RTC drivers. Signed-off-by: Alexandre Belloni <[email protected]>