Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55457161 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Kyle McMartin
Browse files

parisc: rtc: get_rtc_time() returns unsigned int

parent 833bb304
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -13,9 +13,7 @@

static int parisc_get_time(struct device *dev, struct rtc_time *tm)
{
	unsigned long ret;

	ret = get_rtc_time(tm);
	unsigned int ret = get_rtc_time(tm);

	if (ret & RTC_BATT_BAD)
		return -EOPNOTSUPP;