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

Commit 66ae4560 authored by Axel Lin's avatar Axel Lin Committed by Guan Xuetao
Browse files

rtc: rtc-puv3: Add __devinit and __devexit markers for probe and remove

parent 63c95fa4
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -220,7 +220,7 @@ static void puv3_rtc_enable(struct platform_device *pdev, int en)
	}
	}
}
}


static int puv3_rtc_remove(struct platform_device *dev)
static int __devexit puv3_rtc_remove(struct platform_device *dev)
{
{
	struct rtc_device *rtc = platform_get_drvdata(dev);
	struct rtc_device *rtc = platform_get_drvdata(dev);


@@ -236,7 +236,7 @@ static int puv3_rtc_remove(struct platform_device *dev)
	return 0;
	return 0;
}
}


static int puv3_rtc_probe(struct platform_device *pdev)
static int __devinit puv3_rtc_probe(struct platform_device *pdev)
{
{
	struct rtc_device *rtc;
	struct rtc_device *rtc;
	struct resource *res;
	struct resource *res;