diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-11-09 13:09:32 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-11-15 21:06:49 +0100 |
commit | dca4d3b71c8a09a16951add656711fbd6f5bfbb0 (patch) | |
tree | c81f40bbe4794a92f188c48c91be3ca942510134 /drivers/rtc/rtc-ds1390.c | |
parent | 375bbba09692fe4c5218eddee8e312dd733fa846 (diff) | |
download | linux-dca4d3b71c8a09a16951add656711fbd6f5bfbb0.tar.bz2 |
rtc: cmos: Eliminate forward declarations of some functions
Reorder the ACPI-related code before cmos_do_probe() so as to eliminate
excessive forward declarations of some functions.
While at it, for consistency, add the inline modifier to the
definitions of empty stub static funtions and remove it from the
corresponding definitions of functions with non-empty bodies.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/13157911.uLZWGnKmhe@kreacher
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1390.c')
0 files changed, 0 insertions, 0 deletions