summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq40xx/gpio.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:45:02 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:27:16 +0000
commitb69bbfe1ef52421f0bbe1e632d99dc264660ee02 (patch)
tree75562ab0ead6e99593f5eb46e4a5fd6b84524af4 /src/soc/qualcomm/ipq40xx/gpio.c
parentf91bcb310bae7478104304bd18c75cdd73a1e229 (diff)
soc/qualcomm: Drop unneeded empty lines
Change-Id: If76502ff91896959ef171c192b4fc138dff18fc6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44599 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/soc/qualcomm/ipq40xx/gpio.c')
-rw-r--r--src/soc/qualcomm/ipq40xx/gpio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/qualcomm/ipq40xx/gpio.c b/src/soc/qualcomm/ipq40xx/gpio.c
index 2e2a8af8d8..e7874a786a 100644
--- a/src/soc/qualcomm/ipq40xx/gpio.c
+++ b/src/soc/qualcomm/ipq40xx/gpio.c
@@ -17,7 +17,6 @@ static inline int gpio_not_valid(gpio_t gpio)
return (gpio > GPIO_MAX_NUM);
}
-
/*******************************************************
Function description: configure GPIO functinality
Arguments :
@@ -30,7 +29,6 @@ unsigned enable - 0 Disable, 1 - Enable.
Return : None
*******************************************************/
-
void gpio_tlmm_config_set(gpio_t gpio, unsigned int func,
unsigned int pull, unsigned int drvstr,
unsigned int enable)
@@ -60,7 +58,6 @@ unsigned *enable - 0 - Disable, 1- Enable.
Return : None
*******************************************************/
-
void gpio_tlmm_config_get(gpio_t gpio, unsigned int *func,
unsigned int *pull, unsigned int *drvstr,
unsigned int *enable)
@@ -93,7 +90,6 @@ int gpio_get(gpio_t gpio)
if (gpio_not_valid(gpio))
return -1;
-
return (read32(GPIO_IN_OUT_ADDR(gpio)) >> GPIO_IO_IN_SHIFT) &
GPIO_IO_IN_MASK;
}