diff options
author | Stephen Boyd <swboyd@chromium.org> | 2019-05-10 14:24:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 20:55:04 +0200 |
commit | b0503584a82814c05951b792d0177e052da2db6f (patch) | |
tree | 4aa7655c7a1e5e2a81fe9fec978766c22ae7beb6 /drivers/firmware/google/coreboot_table.c | |
parent | 354635039d935dba16ba35054b27dd6671fd3d14 (diff) |
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>
Diffstat (limited to 'drivers/firmware/google/coreboot_table.c')
0 files changed, 0 insertions, 0 deletions