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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:16:23 +0000 (11:16 +0100)
commit9b6bb5bc827162e71a5fb9be0257e8c9328e9fee
tree7a6cc233bf021827daa3e62e23123e825e0a3e46
parentfd765011b31cb59e8af0631eceaef4ece491ce3a
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