[PATCH 3/3] rtc: rv3028: Alignment to match the open parenthesis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix following checkpatch.pl check by adding space to match the
open parenthesis and removing unwanted blank line.
CHECK: Alignment should match open parenthesis.
CHECK: Blank lines aren't necessary before a close brace '}'.

Signed-off-by: Jagath Jog J <jagathjog1996@xxxxxxxxx>
---
 drivers/rtc/rtc-rv3028.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/rtc/rtc-rv3028.c b/drivers/rtc/rtc-rv3028.c
index f7c801c06d00..0da68fd7cedd 100644
--- a/drivers/rtc/rtc-rv3028.c
+++ b/drivers/rtc/rtc-rv3028.c
@@ -266,7 +266,7 @@ static irqreturn_t rv3028_handle_irq(int irq, void *dev_id)
 	u32 status = 0, ctrl = 0;
 
 	if (regmap_read(rv3028->regmap, RV3028_STATUS, &status) < 0 ||
-	   status == 0) {
+	    status == 0) {
 		return IRQ_NONE;
 	}
 
@@ -514,7 +514,6 @@ static int rv3028_set_offset(struct device *dev, long offset)
 	rv3028_exit_eerd(rv3028, eerd);
 
 	return ret;
-
 }
 
 static int rv3028_param_get(struct device *dev, struct rtc_param *param)
-- 
2.17.1




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux