i2c: designware-pci: Group AMD NAVI quirk parts together
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 29 Sep 2022 09:42:14 +0000 (12:42 +0300)
committerWolfram Sang <wsa@kernel.org>
Sat, 1 Oct 2022 22:42:55 +0000 (00:42 +0200)
commit65769162ae4b7f2d82e54998be446226b05fcd8f
tree741f5124271fabcf21cbf2b6868356ac6942fa34
parent3616936972493923afa4a11dc9f707b117e2bdf4
i2c: designware-pci: Group AMD NAVI quirk parts together

The code is ogranized in a way that all related parts
to the certain platform quirk go together. This is not
the case for AMD NAVI. Shuffle code to make it happen.

While at it, drop the frequency definition and use
hard coded value as it's done for other platforms and
add a comment to the PCI ID list.

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-pcidrv.c