i2c: break out smbus support into separate file
commit22c78d1cce104072747023d2ae0351bf3f97d725
authorWolfram Sang <wsa@the-dreams.de>
Tue, 23 May 2017 10:27:17 +0000 (23 12:27 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 31 May 2017 19:01:03 +0000 (31 21:01 +0200)
tree03c552b637a825ce43e838233671a63c74a2de8e
parente4991ecdc6b8ad2b21f3d6e90ef826b8871103a2
i2c: break out smbus support into separate file

Break out the exported SMBus functions and the emulation layer into a
separate file. This also involved splitting up the tracing header into
an I2C and an SMBus part.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/driver-api/i2c.rst
drivers/i2c/Makefile
drivers/i2c/i2c-core-base.c
drivers/i2c/i2c-core-smbus.c [new file with mode: 0644]
include/trace/events/i2c.h
include/trace/events/smbus.h [copied from include/trace/events/i2c.h with 66% similarity]