drivers: eeprom: stm32: simplify write error handling
Remove the extra unlock and value return, just print the error code when
failed to do DATAEEPROM_Lock().
Signed-off-by:
Haiyue Wang <haiyuewa@163.com>
Loading
Please sign in to comment