mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 06:37:59 +00:00
rtc: xgene: correct checkpatch issues
Correct trivial whitespace issues. Also sort the headers. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
3a205b9dc8
commit
db7853414b
1 changed files with 7 additions and 7 deletions
|
@ -7,15 +7,15 @@
|
|||
* Loc Ho <lho@apm.com>
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/rtc.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
/* RTC CSR Registers */
|
||||
#define RTC_CCVR 0x00
|
||||
|
@ -123,7 +123,7 @@ static const struct rtc_class_ops xgene_rtc_ops = {
|
|||
|
||||
static irqreturn_t xgene_rtc_interrupt(int irq, void *id)
|
||||
{
|
||||
struct xgene_rtc_dev *pdata = (struct xgene_rtc_dev *) id;
|
||||
struct xgene_rtc_dev *pdata = id;
|
||||
|
||||
/* Check if interrupt asserted */
|
||||
if (!(readl(pdata->csr_base + RTC_STAT) & RTC_STAT_BIT))
|
||||
|
|
Loading…
Add table
Reference in a new issue