staging: rtl8192u: propagate errors in eprom_read
authorSalah Triki <salah.triki@acm.org>
Wed, 4 May 2016 03:42:41 +0000 (04:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:49:02 +0000 (19:49 -0700)
commit6ceb65b83771ec860478061479ba54b7093c2ee2
tree46319379211c196ef787b9b8ee88d01861852804
parent2fe9262e7e024b089d6f1962fe1fa06b383d2991
staging: rtl8192u: propagate errors in eprom_read

Propagate error from eprom_r and change the return type of eprom_read
from u32 to int.

Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8180_93cx6.c
drivers/staging/rtl8192u/r8180_93cx6.h