summaryrefslogtreecommitdiff
path: root/drivers/mfd/tps65911-comparator.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-11-13 13:27:25 +0100
committerLee Jones <lee.jones@linaro.org>2020-11-19 08:34:28 +0000
commitd75846ed08e6f4135ec73778575c34d9c0ace993 (patch)
treeeb31e7fa74a2d752637efe42b781ae31a731087a /drivers/mfd/tps65911-comparator.c
parentde1292817cf736c04fab31903a6aa9d9ffe60b79 (diff)
mfd: stmfx: Fix dev_err_probe() call in stmfx_chip_init()
'ret' may be 0 so, dev_err_probe() should be called only when 'ret' is an error code. Fixes: 41c9c06c491a ("mfd: stmfx: Simplify with dev_err_probe()") Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tps65911-comparator.c')
0 files changed, 0 insertions, 0 deletions