Re: [RFC 1/3] gpio-rz: Port to v3.18

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

 



Hi Chris,

On 02/12/2016 17:23, Chris Brandt wrote:
On 12/2/2016, Jacopo Mondi wrote:
Fix invalid return value in gpio remove function

Signed-off-by: Jacopo Mondi <jacopo@xxxxxxxxxx>
---
 drivers/gpio/gpio-rz.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-rz.c b/drivers/gpio/gpio-rz.c index
a933dab..cb8f785 100644
--- a/drivers/gpio/gpio-rz.c
+++ b/drivers/gpio/gpio-rz.c
@@ -175,7 +175,8 @@ static int rz_gpio_remove(struct platform_device
*pdev)  {
 	struct rz_gpio_priv *p = platform_get_drvdata(pdev);

-	return gpiochip_remove(&p->gpio_chip);
+	gpiochip_remove(&p->gpio_chip);
+	return 0;
 }

 static const struct of_device_id rz_gpio_dt_ids[] = {
--
2.7.4


What tree/branch is this based off?


Quoting the cover letter:
The series is based on branch "genmai-gpio-and-pfc" of Geert's tree at
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
and target Linux v3.18

Thanks
   j





Chris





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux