pwm: lpss: remove dependency on clk framework
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 9 May 2014 08:35:21 +0000 (11:35 +0300)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 7 Aug 2014 11:18:03 +0000 (13:18 +0200)
commit65accd87381ed96bf8893124b149bae08edd2740
treeeede25d9b3766884e78fd130ee0a9a393aafdba5
parented1a819a3fdbde279f3ca18e2268cc12666e9bf1
pwm: lpss: remove dependency on clk framework

Unlike other Intel LPSS devices, the PWM does not have the
clock dividers or the gate. All we get from the clock is the
rate. Since PCI case uses the driver data to get the rate,
we can drop the clk and use the same data also in case of
ACPI. The frequency is the same.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Chew, Chiau Ee <chiau.ee.chew@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpss.c