]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit681e5aee0930393d99af1f9847711fc5f12e681f
treeb29628d819fae8ef858a2e864e68b0b8d6510a5d
parentdf8ef7aa84f988efb5b6954c78160e446d5a759c
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