[PATCH leds v2 29/50] leds: is31fl319x: cosmetic: use reverse christmas tree

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

 



Only a cosmetic change: use reverse christmas tree variables
declaration.

Signed-off-by: Marek Behún <marek.behun@xxxxxx>
Cc: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
Cc: Grant Feng <von81@xxxxxxx>
---
 drivers/leds/leds-is31fl319x.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/leds/leds-is31fl319x.c b/drivers/leds/leds-is31fl319x.c
index 1dae319b03d60..15bdbc6378d93 100644
--- a/drivers/leds/leds-is31fl319x.c
+++ b/drivers/leds/leds-is31fl319x.c
@@ -111,9 +111,9 @@ static int is31fl319x_brightness_set(struct led_classdev *cdev,
 						  cdev);
 	struct is31fl319x_chip *is31 = led->chip;
 	int chan = led - is31->leds;
+	u8 ctrl1 = 0, ctrl2 = 0;
 	int ret;
 	int i;
-	u8 ctrl1 = 0, ctrl2 = 0;
 
 	dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness);
 
@@ -340,12 +340,12 @@ static int is31fl319x_parse_and_register(struct device *dev,
 static int is31fl319x_probe(struct i2c_client *client,
 			    const struct i2c_device_id *id)
 {
-	struct is31fl319x_chip *is31;
 	struct device *dev = &client->dev;
 	struct gpio_desc *shutdown_gpio;
+	struct is31fl319x_chip *is31;
+	u32 aggregated_led_microamp;
 	u32 audio_gain_db;
 	int err;
-	u32 aggregated_led_microamp;
 
 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
 		return -EIO;
-- 
2.26.2




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux