rtc: ac100: Add NULL checking for devm_kzalloc call
devm_kzalloc can return NULL, add NULL checking to prevent NULL pointer dereference. Signed-off-by:Axel Lin <axel.lin@ingics.com> Signed-off-by:
Alexandre Belloni <alexandre.belloni@free-electrons.com>
Showing
Please register or sign in to comment