ti-st: Fix check for pdata->chip_awake function pointer
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Thu, 2 Aug 2012 20:17:48 +0000 (22:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 19:32:34 +0000 (12:32 -0700)
commitf3d9d365ff7f36c4e3491ef31788449f419b781b
tree4c50311e2b3121b65a35b30f065c7b542baeede7
parenta2f6985332d2564e443d9d889ce70f39b3293d09
ti-st: Fix check for pdata->chip_awake function pointer

ll_device_want_to_wakeup(): Fix the NULL pointer check on pdata->chip_awake,
which is performed on the wrong function pointer

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_ll.c