]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Convert therm_pm72.c to use the kthread API
authorPaul Mackerras <paulus@samba.org>
Thu, 13 Dec 2007 04:54:45 +0000 (15:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Dec 2007 04:22:02 +0000 (15:22 +1100)
commit6fe7a81347c838914ea7c025e7255fe5fa2d3bd8
tree9eadfea154d77246861a020509a46fa821fb2f75
parentf6ca72842f276de4e63ad4090b22a14ebee70218
[POWERPC] Convert therm_pm72.c to use the kthread API

This converts the therm_pm72.c driver to use the kthread API.  I
thought about making it use kthread_stop() instead of the `state'
variable and the `ctrl_complete' completion, but that isn't simple and
will require changing the way that `state' is used.

Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/therm_pm72.c