i2c: break out OF support into separate file
authorWolfram Sang <wsa@the-dreams.de>
Tue, 23 May 2017 09:50:58 +0000 (11:50 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 31 May 2017 19:01:04 +0000 (21:01 +0200)
commit5bf4fa7daea6d5257357b613d0bb81c68e2d1af2
tree6965a63f2f48bdb1ee512c1f52e81241bf570c95
parent22c78d1cce104072747023d2ae0351bf3f97d725
i2c: break out OF 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-of.c [new file with mode: 0644]
drivers/i2c/i2c-core.h