Go to file
Michal Schmidt b37dd15057 leds: trigger: gpio: Replace custom code for gpiod_get_optional()
JIRA: https://issues.redhat.com/browse/RHEL-32110

commit 9bbd6b7209cf1e26390975b7617a29901c8990a1
Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date:   Fri Nov 3 21:53:07 2023 +0200

    leds: trigger: gpio: Replace custom code for gpiod_get_optional()

    gpiod_get_optional() and currently used fwnode_gpiod_get_index()
    are both wrappers against the same engine internally. Since we
    have a pointer to struct device there is no reason to use fwnode
    type of GPIO call. So, replace the current fwnode call by respective
    gpiod ones.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Link: https://lore.kernel.org/r/20231103195310.948327-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Lee Jones <lee@kernel.org>

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2024-04-23 16:25:26 +02:00
Documentation docs: ABI: sysfs-class-led-trigger-netdev: Add new modes and entry 2024-04-23 16:25:26 +02:00
LICENSES
arch Merge: Updates for powerpc smp nr_cpu_ids 2024-04-22 12:47:54 +00:00
block Merge: Updates for powerpc smp nr_cpu_ids 2024-04-22 12:47:54 +00:00
certs
crypto
drivers leds: trigger: gpio: Replace custom code for gpiod_get_optional() 2024-04-23 16:25:26 +02:00
fs Merge: cifs: Fix non-availability of dedup breaking generic/304 2024-04-22 12:47:59 +00:00
include leds: trigger: netdev: Extend speeds up to 10G 2024-04-23 16:25:26 +02:00
init
io_uring
ipc
kernel Merge: cgroup: cgroup-v1: do not exclude cgrp_dfl_root 2024-04-22 12:44:40 +00:00
lib
mm
net Merge: CNB95: ethtool: Add ethtool_puts() and convert drivers to use it 2024-04-22 12:45:33 +00:00
redhat
samples
scripts
security
sound
tools Merge: Base enablement support for Power11 2024-04-22 12:43:11 +00:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.conf
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS
Makefile
Makefile.rhelver
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.