commit | f82ce45273d4d8173243f08b943c9c371385c105 | [log] [tgz] |
---|---|---|
author | Geordan Neukum <gneukum1@gmail.com> | Sun May 26 01:18:27 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 30 14:04:25 2019 -0700 |
tree | 24dd2421866d44984eaa071a132e94c2cef13a66 | |
parent | 46144c1391574f0164def0ca3aa20a6361e4effb [diff] |
staging: kpc2000: kpc_i2c: Remove unused rw_sem In pi2c_probe, a rw_sem is initialized and stashed off in the i2c_device private runtime state struct. This rw_sem is never used after initialization. Remove the rw_sem and cleanup unneeded header inclusion. Signed-off-by: Geordan Neukum <gneukum1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>