rtc: ds1307: fix alignments and blank lines

Alignment should always match open parenthesis.
Also remove two unnecessary blank lines

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

+10 -11
+10 -11
drivers/rtc/rtc-ds1307.c
··· 51 51 /* rs5c372 too? different address... */ 52 52 }; 53 53 54 - 55 54 /* RTC registers don't differ much, except for the century flag */ 56 55 #define DS1307_REG_SECS 0x00 /* 00-59 */ 57 56 # define DS1307_BIT_CH 0x80 ··· 112 113 # define RX8025_BIT_PON 0x10 113 114 # define RX8025_BIT_VDET 0x40 114 115 # define RX8025_BIT_XST 0x20 115 - 116 116 117 117 struct ds1307 { 118 118 struct nvmem_config nvmem_cfg; ··· 1040 1042 } 1041 1043 1042 1044 static ssize_t ds3231_hwmon_show_temp(struct device *dev, 1043 - struct device_attribute *attr, char *buf) 1045 + struct device_attribute *attr, char *buf) 1044 1046 { 1045 1047 int ret; 1046 1048 s32 temp; ··· 1052 1054 return sprintf(buf, "%d\n", temp); 1053 1055 } 1054 1056 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, ds3231_hwmon_show_temp, 1055 - NULL, 0); 1057 + NULL, 0); 1056 1058 1057 1059 static struct attribute *ds3231_hwmon_attrs[] = { 1058 1060 &sensor_dev_attr_temp1_input.dev_attr.attr, ··· 1068 1070 return; 1069 1071 1070 1072 dev = devm_hwmon_device_register_with_groups(ds1307->dev, ds1307->name, 1071 - ds1307, ds3231_hwmon_groups); 1073 + ds1307, 1074 + ds3231_hwmon_groups); 1072 1075 if (IS_ERR(dev)) { 1073 1076 dev_warn(ds1307->dev, "unable to register hwmon device %ld\n", 1074 1077 PTR_ERR(dev)); ··· 1141 1142 } 1142 1143 1143 1144 static long ds3231_clk_sqw_round_rate(struct clk_hw *hw, unsigned long rate, 1144 - unsigned long *prate) 1145 + unsigned long *prate) 1145 1146 { 1146 1147 int i; 1147 1148 ··· 1154 1155 } 1155 1156 1156 1157 static int ds3231_clk_sqw_set_rate(struct clk_hw *hw, unsigned long rate, 1157 - unsigned long parent_rate) 1158 + unsigned long parent_rate) 1158 1159 { 1159 1160 struct ds1307 *ds1307 = clk_sqw_to_ds1307(hw); 1160 1161 int control = 0; ··· 1214 1215 }; 1215 1216 1216 1217 static unsigned long ds3231_clk_32khz_recalc_rate(struct clk_hw *hw, 1217 - unsigned long parent_rate) 1218 + unsigned long parent_rate) 1218 1219 { 1219 1220 return 32768; 1220 1221 } ··· 1305 1306 1306 1307 /* optional override of the clockname */ 1307 1308 of_property_read_string_index(node, "clock-output-names", i, 1308 - &init.name); 1309 + &init.name); 1309 1310 ds1307->clks[i].init = &init; 1310 1311 1311 1312 onecell->clks[i] = devm_clk_register(ds1307->dev, ··· 1569 1570 /* oscillator fault? clear flag, and warn */ 1570 1571 if (regs[DS1307_REG_CONTROL] & DS1338_BIT_OSF) { 1571 1572 regmap_write(ds1307->regmap, DS1307_REG_CONTROL, 1572 - regs[DS1307_REG_CONTROL] & 1573 - ~DS1338_BIT_OSF); 1573 + regs[DS1307_REG_CONTROL] & 1574 + ~DS1338_BIT_OSF); 1574 1575 dev_warn(ds1307->dev, "SET TIME!\n"); 1575 1576 goto read_rtc; 1576 1577 }