]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
i2c: do not use internal data from driver core
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 7 Mar 2016 11:49:17 +0000 (17:19 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 12 Mar 2016 15:58:11 +0000 (16:58 +0100)
commit95026658c46ea2d94498d0dac1282e28cd47c64a
treeb6785a2eca9069814a7c6f5f1d9d0c2e39e2352f
parent30e31a1fbc1fc0fae001a96d9b4c375806fb8f41
i2c: do not use internal data from driver core

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>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[wsa: removed the unlikely()]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c