Skip to content
Snippets Groups Projects
Commit 0e8dd7d8 authored by Vaibhav Gupta's avatar Vaibhav Gupta Committed by Federico Vaga
Browse files

drivers: fmc: eeprom: Improve error checking


nvmem_device_get() may return an error pointed instead of NULL, thus
check for it.

Picked from the changes done by Mathis Marion for Oscimp-WRTD project.

Signed-off-by: default avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent f48aded1
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment