Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4c3f97a authored by Ben Werbowyj's avatar Ben Werbowyj Committed by Greg Kroah-Hartman
Browse files

drivers: w1: style corrections for parenthesis and braces



Inserted whitespace between command and open parenthesis
at two locations. Removed new line between open brace and
command/declaration at two locations.

Signed-off-by: default avatarBen Werbowyj <ben.werbowyj@gmail.com>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34924b23
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -151,8 +151,7 @@ static struct w1_family w1_therm_family_DS1825 = {
	.fops = &w1_therm_fops,
};

struct w1_therm_family_converter
{
struct w1_therm_family_converter {
	u8			broken;
	u16			reserved;
	struct w1_family	*f;
@@ -439,8 +438,7 @@ static ssize_t w1_slave_show(struct device *device,
	if (ret != 0)
		goto post_unlock;

	if(!sl->family_data)
	{
	if (!sl->family_data) {
		ret = -ENODEV;
		goto pre_unlock;
	}