diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-02-09 23:48:25 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-09 23:49:37 +0400 |
commit | 12325280dfeba18164f9c47e226a40ab34e23ee7 (patch) | |
tree | b032bd02daad20faebfe811895e7b270e50a994a /drivers/mfd/max8997.c | |
parent | 2cfc6fc584a65db87935ca4e4d5e1ad89d5192ee (diff) | |
download | linux-12325280dfeba18164f9c47e226a40ab34e23ee7.tar.xz |
rtlwifi: Modify rtl_pci_init to return 0 on success
Fixes problem where caller would think routine succeeded when it failed
leading to divide by zero panic.
(This also reverts an earlier attempt, commit 42bc0c97 "rtlwifi: Return
correct failure code on error". -- JWL)
Signed-off-by: Simon Graham <simon.graham@virtualcomputer.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/mfd/max8997.c')
0 files changed, 0 insertions, 0 deletions