diff options
author | Joe Perches <joe@perches.com> | 2012-03-21 15:55:01 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-22 01:01:46 -0400 |
commit | 886ee5463530036f6171e1376118e7014cf33f7f (patch) | |
tree | 7e388032bcb4097cd5c9064e07e30fcaa9d98de9 /drivers/thermal | |
parent | b11de07ce561574b6e03c8192b28bad540da8f79 (diff) |
thermal_sys: remove unnecessary line continuations
Line continations are not necessary in function calls or statements.
Remove them.
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Jesper Juhl <jj@chaosbits.net>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/thermal_sys.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 859b80b6d376..71802caec2c3 100644 --- a/drivers/thermal/thermal_sys.c +++ b/drivers/thermal/thermal_sys.c | |||
@@ -281,8 +281,7 @@ passive_show(struct device *dev, struct device_attribute *attr, | |||
281 | static DEVICE_ATTR(type, 0444, type_show, NULL); | 281 | static DEVICE_ATTR(type, 0444, type_show, NULL); |
282 | static DEVICE_ATTR(temp, 0444, temp_show, NULL); | 282 | static DEVICE_ATTR(temp, 0444, temp_show, NULL); |
283 | static DEVICE_ATTR(mode, 0644, mode_show, mode_store); | 283 | static DEVICE_ATTR(mode, 0644, mode_show, mode_store); |
284 | static DEVICE_ATTR(passive, S_IRUGO | S_IWUSR, passive_show, \ | 284 | static DEVICE_ATTR(passive, S_IRUGO | S_IWUSR, passive_show, passive_store); |
285 | passive_store); | ||
286 | 285 | ||
287 | static struct device_attribute trip_point_attrs[] = { | 286 | static struct device_attribute trip_point_attrs[] = { |
288 | __ATTR(trip_point_0_type, 0444, trip_point_type_show, NULL), | 287 | __ATTR(trip_point_0_type, 0444, trip_point_type_show, NULL), |
@@ -1313,8 +1312,8 @@ int thermal_generate_netlink_event(u32 orig, enum events event) | |||
1313 | static unsigned int thermal_event_seqnum; | 1312 | static unsigned int thermal_event_seqnum; |
1314 | 1313 | ||
1315 | /* allocate memory */ | 1314 | /* allocate memory */ |
1316 | size = nla_total_size(sizeof(struct thermal_genl_event)) + \ | 1315 | size = nla_total_size(sizeof(struct thermal_genl_event)) + |
1317 | nla_total_size(0); | 1316 | nla_total_size(0); |
1318 | 1317 | ||
1319 | skb = genlmsg_new(size, GFP_ATOMIC); | 1318 | skb = genlmsg_new(size, GFP_ATOMIC); |
1320 | if (!skb) | 1319 | if (!skb) |
@@ -1330,8 +1329,8 @@ int thermal_generate_netlink_event(u32 orig, enum events event) | |||
1330 | } | 1329 | } |
1331 | 1330 | ||
1332 | /* fill the data */ | 1331 | /* fill the data */ |
1333 | attr = nla_reserve(skb, THERMAL_GENL_ATTR_EVENT, \ | 1332 | attr = nla_reserve(skb, THERMAL_GENL_ATTR_EVENT, |
1334 | sizeof(struct thermal_genl_event)); | 1333 | sizeof(struct thermal_genl_event)); |
1335 | 1334 | ||
1336 | if (!attr) { | 1335 | if (!attr) { |
1337 | nlmsg_free(skb); | 1336 | nlmsg_free(skb); |