mfd: lpc_ich: Use ALIGN_DOWN() to obtain the start of the SPI base range
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 29 Dec 2023 14:50:59 +0000 (16:50 +0200)
committerLee Jones <lee@kernel.org>
Fri, 23 Feb 2024 14:58:00 +0000 (14:58 +0000)
commitfc99c0132210a0f8b6a601eda90cf4d5e25b041d
tree5f650aaaff59c6073afef03d3a1e9af94becdac9
parent1d8c51ed2ddcc4161e6496cf14fcd83921c50ec8
mfd: lpc_ich: Use ALIGN_DOWN() to obtain the start of the SPI base range

Instead of open coding, use ALIGN_DOWN() for alignment.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231229145059.6138-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/lpc_ich.c