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

Commit 819c2178 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: jz4740: remove unused EXPORT_SYMBOL



jz4740_rtc_poweroff() is only called from the driver, stop exporting it.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 8e9e3f5b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -252,12 +252,11 @@ static irqreturn_t jz4740_rtc_irq(int irq, void *data)
	return IRQ_HANDLED;
}

void jz4740_rtc_poweroff(struct device *dev)
static void jz4740_rtc_poweroff(struct device *dev)
{
	struct jz4740_rtc *rtc = dev_get_drvdata(dev);
	jz4740_rtc_reg_write(rtc, JZ_REG_RTC_HIBERNATE, 1);
}
EXPORT_SYMBOL_GPL(jz4740_rtc_poweroff);

static void jz4740_rtc_power_off(void)
{