i2c: designware: Cleanup bus lock handling
authorHans de Goede <hdegoede@redhat.com>
Thu, 11 Oct 2018 14:29:11 +0000 (16:29 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Oct 2018 15:00:05 +0000 (17:00 +0200)
commit8afb46804dfa88bb86d65e13f3209372f3d912e3
treecdc6c4d85e38084b8edc0930fc5217d137811c0f
parent3c670dba864d9ab0a23612a93b7d98700734bd44
i2c: designware: Cleanup bus lock handling

Now that most of the special Bay- / Cherry-Trail bus lock handling has
been moved to the iosf_mbi code we can simplify the remaining code a bit.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/i2c/busses/i2c-designware-baytrail.c
drivers/i2c/busses/i2c-designware-common.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-platdrv.c