Platform driver 'applesmc' needs updating - please use dev_pm_ops

From: Justin Mattock
Date: Fri Jun 19 2009 - 22:01:17 EST


with kernel
2.6.30 (tar.ball)
applesmc looks like this:

[ 3.083478] applesmc: Apple MacBook Pro detected:
[ 3.092377] applesmc: - Model with accelerometer
[ 3.101740] applesmc: - Model with light sensors and backlight
[ 3.111123] applesmc: - Model with 12 temperature sensors
[ 3.172619] applesmc: device successfully initialized (0xe0, 0x00).
[ 3.172621] applesmc: device successfully initialized.
[ 3.182376] applesmc: 2 fans found.
[ 3.192830] input: applesmc as /devices/platform/applesmc.768/input/input1
[ 3.202148] Registered led device: smc::kbd_backlight
[ 3.211396] applesmc: driver successfully loaded.


with the latest git
2.6.30-06553-g65795ef
applesmc looks like this:

[ 2.918010] applesmc: Apple MacBook Pro detected:
[ 2.926610] applesmc: - Model with accelerometer
[ 2.935664] applesmc: - Model with light sensors and backlight
[ 2.935666] applesmc: - Model with 12 temperature sensors
[ 2.935670] Platform driver 'applesmc' needs updating - please use dev_pm_ops
[ 3.015615] applesmc: device successfully initialized (0xe0, 0x00).
[ 3.015618] applesmc: device successfully initialized.
[ 3.025389] applesmc: 2 fans found.
[ 3.035818] input: applesmc as /devices/platform/applesmc.768/input/input1
[ 3.045192] Registered led device: smc::kbd_backlight
[ 3.054586] applesmc: driver successfully loaded.

As for any anomolies, or the system
crashing and burning(no seems O.K.)
just needs applesmc to be using
dev_pm_ops wherever that may be.

--
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/