]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware: Get rid of PCI driver specifics in common code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 May 2020 12:50:37 +0000 (15:50 +0300)
committerWolfram Sang <wsa@kernel.org>
Fri, 22 May 2020 14:50:17 +0000 (16:50 +0200)
commit9ad4a05b5cdf0eaa4bf046f49542f1a6f03d2369
tree40141652776ab342c5214836fc782fef5586838e
parente63b9c2876e48ed5f13142fef320901a476e886f
i2c: designware: Get rid of PCI driver specifics in common code

Do not spread PCI specifics over common code. It seems to be a layering
violation which can be easily avoided. Refactor PCI driver and drop
PCI specifics from common code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-pcidrv.c