[PATCH 0/8] staging: kpc2000: kpc_i2c: assorted driver cleanup
From: Geordan Neukum
Date: Sat May 25 2019 - 21:22:55 EST
This series contains some patches aimed toward:
- cleaning up unused/unneeded parts of driver state
- a couple of small style fixups
- a couple of API changes
- better error handling in probe()
in the kpc2000 i2c driver.
Geordan Neukum (8):
staging: kpc2000: kpc_i2c: Remove unused rw_sem
staging: kpc2000: kpc_i2c: Remove pldev from i2c_device structure
staging: kpc2000: kpc_i2c: Use BIT macro rather than manual bit
shifting
staging: kpc2000: kpc_i2c: Remove unnecessary consecutive newlines
staging: kpc2000: kpc_i2c: Use drvdata instead of platform_data
staging: kpc2000: kpc_i2c: fail probe if unable to get I/O resource
staging: kpc2000: kpc_i2c: fail probe if unable to map I/O space
staging: kpc2000: kpc_i2c: Use devm_* API to manage mapped I/O space
drivers/staging/kpc2000/kpc2000_i2c.c | 33 ++++++++++++---------------
1 file changed, 15 insertions(+), 18 deletions(-)
--
2.21.0