i2c: octeon: Split the driver into two parts
authorJan Glauber <jglauber@cavium.com>
Wed, 24 Aug 2016 21:25:43 +0000 (23:25 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 25 Aug 2016 22:41:54 +0000 (00:41 +0200)
commitad83665b4687f5a4456009487af1ea640b9b1b1b
treeb29628d819fae8ef858a2e864e68b0b8d6510a5d
parent68af512a74481d579443f3c81e7a017d06f677c2
i2c: octeon: Split the driver into two parts

Move common functionality into a separate file in preparation of the
re-use from the ThunderX i2c driver.

Functions are slightly re-ordered but no other changes are included.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-octeon-core.c [new file with mode: 0644]
drivers/i2c/busses/i2c-octeon-core.h [new file with mode: 0644]
drivers/i2c/busses/i2c-octeon-platdrv.c