mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
e7308628d0
commit
b20eb4c1f0
1 changed files with 18 additions and 25 deletions
Loading…
Add table
Add a link
Reference in a new issue