Coding style changes for checkpatch.pl error. Add space required before the open parenthesis '('. Add space required after the ','. Signed-off-by: Jagath Jog J <jagathjog1996@xxxxxxxxx> --- drivers/rtc/rtc-rv3028.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-rv3028.c b/drivers/rtc/rtc-rv3028.c index cdc623b3e365..5cebb00bec21 100644 --- a/drivers/rtc/rtc-rv3028.c +++ b/drivers/rtc/rtc-rv3028.c @@ -80,8 +80,8 @@ #define RV3028_EEBUSY_TIMEOUT 100000 #define RV3028_BACKUP_TCE BIT(5) -#define RV3028_BACKUP_TCR_MASK GENMASK(1,0) -#define RV3028_BACKUP_BSM GENMASK(3,2) +#define RV3028_BACKUP_TCR_MASK GENMASK(1, 0) +#define RV3028_BACKUP_BSM GENMASK(3, 2) #define RV3028_BACKUP_BSM_DSM 0x1 #define RV3028_BACKUP_BSM_LSM 0x3 @@ -522,7 +522,7 @@ static int rv3028_param_get(struct device *dev, struct rtc_param *param) struct rv3028_data *rv3028 = dev_get_drvdata(dev); int ret; - switch(param->param) { + switch (param->param) { u32 value; case RTC_PARAM_BACKUP_SWITCH_MODE: @@ -532,7 +532,7 @@ static int rv3028_param_get(struct device *dev, struct rtc_param *param) value = FIELD_GET(RV3028_BACKUP_BSM, value); - switch(value) { + switch (value) { case RV3028_BACKUP_BSM_DSM: param->uvalue = RTC_BSM_DIRECT; break; @@ -555,7 +555,7 @@ static int rv3028_param_set(struct device *dev, struct rtc_param *param) { struct rv3028_data *rv3028 = dev_get_drvdata(dev); - switch(param->param) { + switch (param->param) { u8 mode; case RTC_PARAM_BACKUP_SWITCH_MODE: switch (param->uvalue) { -- 2.17.1