mfd: intel-m10-bmc: Create m10bmc_sys_update_bits()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 17 Apr 2023 09:26:51 +0000 (12:26 +0300)
committerLee Jones <lee@kernel.org>
Thu, 15 Jun 2023 08:19:36 +0000 (09:19 +0100)
commitc452e3bd91b30a8ef7889fa06a50f54158c720d6
treeb8ec6a275586ff2ab5948f8b04d30d47df053c39
parentb3ecc7f3830ab628a7799c7667d69613e0de4dd8
mfd: intel-m10-bmc: Create m10bmc_sys_update_bits()

Wrap regmap_update_bits() with m10bmc_sys_update_bits() in order to be
able to add additional checks into it.

Co-developed-by: Russ Weight <russell.h.weight@intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
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-3-ilpo.jarvinen@linux.intel.com
drivers/fpga/intel-m10-bmc-sec-update.c
drivers/mfd/intel-m10-bmc-core.c
include/linux/mfd/intel-m10-bmc.h