]> err.no Git - linux-2.6/commit
sm501: add power control callback
authorBen Dooks <ben-linux@fluff.org>
Fri, 25 Jul 2008 08:45:58 +0000 (01:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:29 +0000 (10:53 -0700)
commit472dba7d117844c746be97db6be26c2810d79b62
tree8d87f062253a1e295436dcdebe2a1ce6c2a73310
parent717115e1a5856b57af0f71e1df7149108294fc10
sm501: add power control callback

Add callback to get or set the power control if the device has the sleep
connected to some form of GPIO.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c
include/linux/sm501.h