Skip to content
Commit b20eb4c1 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

eeprom: at24: drop unnecessary label



If we move the nvmem registration above the pm enable calls and the
test read, we can drop the error label and make the code more readable
as there's now only a single place where we must call
pm_runtime_disable() in error path.

Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent e7308628
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment