gpio: wcove: Fix indentation
In some cases the indentation is inconsistent. Fix it accordingly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
* Whiskey Cove PMIC has 13 physical GPIO pins divided into 3 banks:
|
* Whiskey Cove PMIC has 13 physical GPIO pins divided into 3 banks:
|
||||||
* Bank 0: Pin 0 - 6
|
* Bank 0: Pin 0 - 6
|
||||||
* Bank 1: Pin 7 - 10
|
* Bank 1: Pin 7 - 10
|
||||||
* Bank 2: Pin 11 -12
|
* Bank 2: Pin 11 - 12
|
||||||
* Each pin has one output control register and one input control register.
|
* Each pin has one output control register and one input control register.
|
||||||
*/
|
*/
|
||||||
#define BANK0_NR_PINS 7
|
#define BANK0_NR_PINS 7
|
||||||
@@ -203,8 +203,7 @@ static int wcove_gpio_get(struct gpio_chip *chip, unsigned int gpio)
|
|||||||
return val & 0x1;
|
return val & 0x1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wcove_gpio_set(struct gpio_chip *chip,
|
static void wcove_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value)
|
||||||
unsigned int gpio, int value)
|
|
||||||
{
|
{
|
||||||
struct wcove_gpio *wg = gpiochip_get_data(chip);
|
struct wcove_gpio *wg = gpiochip_get_data(chip);
|
||||||
int reg = to_reg(gpio, CTRL_OUT);
|
int reg = to_reg(gpio, CTRL_OUT);
|
||||||
|
Reference in New Issue
Block a user