]> err.no Git - linux-2.6/commit
mfd: use shorter set_current_state()
authorRobert P. J. Day <rpjday@crashcourse.ca>
Mon, 28 Apr 2008 09:14:24 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:32 +0000 (08:58 -0700)
commitf7440b0ecdeb3a04d07c546d02d29700d2a574b7
tree7974d2f9df0ca299710ad77ab2325492093fab3a
parent61711f8fd8180e458cfb6846bcf4fc636a95f3db
mfd: use shorter set_current_state()

Since this routine declares a separate "tsk" pointer for no other reason than
to call set_task_state(), get rid of it and just invoke set_current_state().

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Nicolas Pitre <nico@cam.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/ucb1x00-ts.c