[PATCH 27/51] extcon: Fix compile time warning

2016-09-14 Thread Kishon Vijay Abraham I
From: Maninder Singh This patch fixes below compilation warning:- drivers/extcon/extcon.c: In function extcon_register_notifier: drivers/extcon/extcon.c:455:6: warning: idx may be used uninitialized in this function [-Wmaybe-uninitialized] if (idx >= 0) {

[PATCH 27/51] extcon: Fix compile time warning

2016-09-14 Thread Kishon Vijay Abraham I
From: Maninder Singh This patch fixes below compilation warning:- drivers/extcon/extcon.c: In function extcon_register_notifier: drivers/extcon/extcon.c:455:6: warning: idx may be used uninitialized in this function [-Wmaybe-uninitialized] if (idx >= 0) { Signed-off-by: Vaneet Narang