i2c: break out slave support into separate file
authorWolfram Sang <wsa@the-dreams.de>
Tue, 23 May 2017 09:14:17 +0000 (11:14 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 31 May 2017 19:01:03 +0000 (21:01 +0200)
commite4991ecdc6b8ad2b21f3d6e90ef826b8871103a2
tree19ef583bcff158034a85e8233aac43364eca9d89
parent91ed53491f4fa31879e0965a7e920dc10f78996c
i2c: break out slave support into separate file

Also removes some ifdeffery.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/Makefile
drivers/i2c/i2c-core-base.c
drivers/i2c/i2c-core-slave.c [new file with mode: 0644]
drivers/i2c/i2c-core.h