lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZQBJlJy2NnCJ489y@smile.fi.intel.com>
Date:   Tue, 12 Sep 2023 14:20:52 +0300
From:   Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To:     Bartosz Golaszewski <brgl@...ev.pl>
Cc:     Linus Walleij <linus.walleij@...aro.org>,
        Mika Westerberg <mika.westerberg@...ux.intel.com>,
        linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-acpi@...r.kernel.org,
        Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH v2 08/11] gpio: of: replace gpiochip_find_* with
 gpio_device_find_*

On Tue, Sep 12, 2023 at 12:07:24PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> 
> We're porting all users of gpiochip_find() to using gpio_device_find().
> Update the OF GPIO code.

...

> +	desc = of_xlate_and_get_gpiod_flags(gdev->chip, &gpiospec, flags);

> +		ret = of_gpiochip_add_hog(gpio_device_get_chip(gdev), rd->dn);

> +		of_gpiochip_remove_hog(gpio_device_get_chip(gdev), rd->dn);

Find the difference in the first parameter in all three.

-- 
With Best Regards,
Andy Shevchenko


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ