[PATCH 3.16 015/136] p54: don't unregister leds when they are not initialized

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Konovalov commit fc09785de0a364427a5df63d703bae9a306ed116 upstream. ieee80211_register_hw() in p54_register_common() may fail and leds won't get initialized.

[PATCH 3.16 015/136] p54: don't unregister leds when they are not initialized

2018-02-10 Thread Ben Hutchings
3.16.54-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Konovalov commit fc09785de0a364427a5df63d703bae9a306ed116 upstream. ieee80211_register_hw() in p54_register_common() may fail and leds won't get initialized. Currently