summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_smu_controls.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-18 22:16:47 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-30 15:37:19 +1000
commite074d08e2b98db1b19328bb9395052b34366831d (patch)
tree113e1938321b9d98e1d8ea97fb2fbc34408d1177 /drivers/macintosh/windfarm_smu_controls.c
parente326b30fda9a985a2e7fda6fb9212b86bf025c39 (diff)
powerpc/windfarm: const'ify and add "priv" field to controls & sensors
const'ify the sensor ops and name and add a void* for use by the control and sensor drivers to point back to their private data, avoiding the need to create a wrapper data structure per sensor or control instance. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/windfarm_smu_controls.c')
0 files changed, 0 insertions, 0 deletions