Commit b2643d25 authored by Alexander Stein's avatar Alexander Stein Committed by Greg Kroah-Hartman
Browse files

eeprom: at24: Use dev_err_probe for nvmem register failure



[ Upstream commit a3c10035 ]

When using nvmem layouts it is possible devm_nvmem_register returns
-EPROBE_DEFER, resulting in an 'empty' in
/sys/kernel/debug/devices_deferred. Use dev_err_probe for providing
additional information.

Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: f42c9702 ("eeprom: at24: fix memory corruption race condition")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5a730a16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment