Skip to content

staging: kpc2000: kpc_i2c: assorted driver cleanup

Geordan Neukum lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8staging: kpc2000: kpc_i2c: Remove unused rw_semdrivers/staging/kpc2000/kpc2000_i2c.c+0 -30 replies
2/8staging: kpc2000: kpc_i2c: Remove pldev from i2c_device structuredrivers/staging/kpc2000/kpc2000_i2c.c+0 -20 replies
3/8staging: kpc2000: kpc_i2c: Use BIT macro rather than manual bit shiftingdrivers/staging/kpc2000/kpc2000_i2c.c+5 -50 replies
4/8staging: kpc2000: kpc_i2c: Remove unnecessary consecutive newlinesdrivers/staging/kpc2000/kpc2000_i2c.c+0 -50 replies
5/8staging: kpc2000: kpc_i2c: Use drvdata instead of platform_datadrivers/staging/kpc2000/kpc2000_i2c.c+2 -20 replies
6/8staging: kpc2000: kpc_i2c: fail probe if unable to get I/O resourcedrivers/staging/kpc2000/kpc2000_i2c.c+3 -00 replies
7/8staging: kpc2000: kpc_i2c: fail probe if unable to map I/O spacedrivers/staging/kpc2000/kpc2000_i2c.c+2 -00 replies
8/8staging: kpc2000: kpc_i2c: Use devm_* API to manage mapped I/O spacedrivers/staging/kpc2000/kpc2000_i2c.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] staging: kpc2000: kpc_i2c: assorted driver cleanup

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