mfd: intel-m10-bmc: Move m10bmc_sys_read() away from header
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 17 Apr 2023 09:26:52 +0000 (12:26 +0300)
committerLee Jones <lee@kernel.org>
Thu, 15 Jun 2023 08:19:36 +0000 (09:19 +0100)
commite9c154eed8aa166330eb0a8dc84642a8675c31e6
tree6220299f40119e4a8c969636373f17c9e3cd7709
parentc452e3bd91b30a8ef7889fa06a50f54158c720d6
mfd: intel-m10-bmc: Move m10bmc_sys_read() away from header

Move m10bmc_sys_read() out from the header to prepare it for adding
more code into the function which would make it too large to be a
static inline any more.

While at it, replace the vague wording in function comment with more
precise statements.

Reviewed-by: Russ Weight <russell.h.weight@intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net> # For hwmon
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230417092653.16487-4-ilpo.jarvinen@linux.intel.com
drivers/hwmon/intel-m10-bmc-hwmon.c
drivers/mfd/intel-m10-bmc-core.c
include/linux/mfd/intel-m10-bmc.h