]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mfd: remove DS1WM clock handling
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 17 Feb 2009 09:09:19 +0000 (10:09 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sat, 4 Apr 2009 22:32:22 +0000 (00:32 +0200)
commit7d33ccbeecd8393cc690cf9a71008236cdd7cc2c
tree93b0356d89abf9ffa1c90da3a9b2e30b34074089
parentb72019dbd126e60bb5f9f350f76127b1527facba
mfd: remove DS1WM clock handling

This driver requests a clock that usually is supplied by the MFD in which
the DS1WM is contained. Currently, it is impossible for a MFD to register
their clocks with the generic clock API due to different implementations
across architectures.
For now, this patch removes the clock handling from DS1WM altogether,
trusting that the MFD enable/disable functions will switch the clock if
needed. The clock rate is obtained from a new parameter in driver_data.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/w1/masters/ds1wm.c
include/linux/mfd/ds1wm.h