spmi: do not use bus internal data
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 7 Mar 2016 11:35:50 +0000 (17:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 21:15:56 +0000 (14:15 -0700)
commit47f55b74cfb28cbd3328ffd5c4c0f7a14da36498
tree6692441e028bcbf74ac20f87cf2cc9425da96bc4
parent7ff4bdd45448936363dc6dc6c851112b5c08e209
spmi: do not use bus internal data

The variable p is a data structure which is used by the driver core
internally and it is not expected that busses will be directly accessing
these driver core internal only data.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi.c