-
由 Peter Robinson 提交于
Deal with deferred probe using dev_err_probe so the error is handled and avoid logging lots probe defer information like the following: [ 9.125121] cw2015 4-0062: Failed to register power supply [ 9.211131] cw2015 4-0062: Failed to register power supply Fixes: b4c7715c ("power: supply: add CellWise cw2015 fuel gauge driver") Signed-off-by: NPeter Robinson <pbrobinson@gmail.com> Reviewed-by: NJavier Martinez Canillas <javierm@redhat.com> Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.com>
ad1abe47