linux/drivers/firmware/google
Stephen Boyd b0503584a8 firmware: google: memconsole: Use devm_memremap()
Use the devm version of memremap so that we can delete the unmapping
code in driver remove, but more importantly so that we can unmap this
memory region if memconsole_sysfs_init() errors out for some reason.

Cc: Wei-Ning Huang <wnhuang@chromium.org>
Cc: Julius Werner <jwerner@chromium.org>
Cc: Brian Norris <briannorris@chromium.org>
Cc: Samuel Holland <samuel@sholland.org>
Cc: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-24 20:55:04 +02:00
..
coreboot_table.c firmware: coreboot: Only populate devices in coreboot_table_init() 2018-09-14 15:37:23 +02:00
coreboot_table.h firmware: google: Add a module_coreboot_driver() macro and use it 2019-05-24 20:55:04 +02:00
framebuffer-coreboot.c firmware: google: Add a module_coreboot_driver() macro and use it 2019-05-24 20:55:04 +02:00
gsmi.c gsmi: Add GSMI commands to log S0ix info 2018-10-15 20:32:26 +02:00
Kconfig gsmi: Remove autoselected dependency on EFI and EFI_VARS 2018-10-15 20:32:26 +02:00
Makefile firmware: coreboot: Collapse platform drivers into bus core 2018-09-14 15:37:23 +02:00
memconsole-coreboot.c firmware: google: memconsole: Use devm_memremap() 2019-05-24 20:55:04 +02:00
memconsole-x86-legacy.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
memconsole.c firmware: google: memconsole: Make memconsole interface more flexible 2017-05-18 16:59:06 +02:00
memconsole.h firmware: google: memconsole: Make memconsole interface more flexible 2017-05-18 16:59:06 +02:00
vpd_decode.c firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd_decode.h firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd.c firmware: google: Add a module_coreboot_driver() macro and use it 2019-05-24 20:55:04 +02:00