pwm: lpss: remove dependency on clk framework
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 29 Oct 2014 00:52:54 +0000 (08:52 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:24 +0000 (09:25 +0900)
commit84f56a2b35ae8f156bb55721b9948c1b666f6497
tree9d0397df642ba453420b3382b3f8cfe89055d117
parent36e126ce2e571a061651d8a8c40a0a267de0b56e
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>
(cherry picked from commit 65accd87381ed96bf8893124b149bae08edd2740)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
drivers/pwm/pwm-lpss.c