]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
p2sb: Factor out p2sb_read_from_cache()
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 28 Nov 2024 00:28:33 +0000 (09:28 +0900)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 14:24:45 +0000 (16:24 +0200)
commit9244524d60ddea55f4df54c51200e8fef2032447
tree83265c6c6fefda4d8d1659d496a223d204f3fdcd
parent54a8cada2f3d7efb4a7920807473d89c442d9c45
p2sb: Factor out p2sb_read_from_cache()

To prepare for the following fix, factor out the code to read the P2SB
resource from the cache to the new function p2sb_read_from_cache().

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241128002836.373745-2-shinichiro.kawasaki@wdc.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/p2sb.c