From: Andy Shevchenko Date: Tue, 19 Aug 2014 16:17:35 +0000 (+0300) Subject: pwm: lpss: Properly split driver to parts X-Git-Tag: fixes-against-v3.18-rc2~24^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c558e39e14c2372394f49e07fbe94e9708b615cb;p=pandora-kernel.git pwm: lpss: Properly split driver to parts The driver consists of core, PCI, and platform parts. It would be better to split them into separate files. The platform driver is now called pwm-lpss-platform. Thus, previously set CONFIG_PWM_LPSS=m is not enough to build it. But we are on the safe side since it seems no one from outside Intel is using it for now. While here, move to use macros module_pci_driver() and module_platform_driver(). Signed-off-by: Andy Shevchenko Reviewed-by: Mika Westerberg Acked-by: Alan Cox [thierry.reding: change select to depends on PWM_LPSS, cleanup] Signed-off-by: Thierry Reding --- Reading git-diff-tree failed