Skip to content
Commit 677b993a authored by Geordan Neukum's avatar Geordan Neukum Committed by Greg Kroah-Hartman
Browse files

staging: kpc2000: kpc_spi: use devm_* API to manage mapped I/O space



The kpc_spi driver does not unmap its I/O space upon error cases in the
probe() function or upon remove(). Make the driver clean up after itself
more maintainably by migrating to using the managed resource API.

Signed-off-by: default avatarGeordan Neukum <gneukum1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1914e9eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment