diff options
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index fc564d359941..8bba022be946 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -432,7 +432,7 @@ static int pcf8563_probe(struct i2c_client *client, | |||
432 | } | 432 | } |
433 | 433 | ||
434 | err = pcf8563_get_alarm_mode(client, NULL, &alm_pending); | 434 | err = pcf8563_get_alarm_mode(client, NULL, &alm_pending); |
435 | if (err < 0) { | 435 | if (err) { |
436 | dev_err(&client->dev, "%s: read error\n", __func__); | 436 | dev_err(&client->dev, "%s: read error\n", __func__); |
437 | return err; | 437 | return err; |
438 | } | 438 | } |