Skip to content
Commit c18b4c52 authored by Mirza Krak's avatar Mirza Krak Committed by Alexandre Belloni
Browse files

rtc: pcf85063: do not register a RTC device if chip is not present



Add a sanity check to see if chip is present. If we can not communicate
with the chip there is no point in registering a RTC device.

Signed-off-by: default avatarMirza Krak <mirza.krak@hostmobility.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent aaa6f6ac
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