Commits
![Dan Carpenter](https://secure.gravatar.com/avatar/85ff6b2aa66ef9f0bf35105783fd2ae2.jpg?s=96&d=mm)
Dan Carpenter committed e4302aec8a0
rtc: pxa: fix probe function This patch is from static analysis and I don't have the hardware to to test it. I think the test is reversed so now the probe function will return success early and the last part of the function is dead code. Fixes: 3cdf4ad9633e ("rtc: pxa: convert to use shared sa1100 functions") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>