leds-mc13783: set platform data to NULL at mc13783_led_remove
authorDevendra Naga <devendra.aaru@gmail.com>
Mon, 2 Jul 2012 08:40:20 +0000 (16:40 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:35 +0000 (07:52 +0800)
commit317dfb148d606a92e7d2748ab77f3d8f9749cc8a
treeb1869b5e66484de148821e7a5f0b397877ff7717
parentb523cfe61b097a45f4e919e8c3b6da239962b3e9
leds-mc13783: set platform data to NULL at mc13783_led_remove

the platform_set_drvdata (pdev, NULL) to be set at the remove of the
driver, as we have set the platform data to led at probe.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-mc13783.c