summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sh.c
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2021-09-01 16:59:36 -0700
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-09-27 16:21:40 +0200
commit9ba533eb99bb2acf8b2268c6f48dcf73e1e47753 (patch)
tree7e165fa26091c2ce3ff8c5a6d2953daacc735f53 /drivers/spi/spi-sh.c
parent5d1f642aad69c76f6a260528a22701ec4a8f12f5 (diff)
downloadlinux-9ba533eb99bb2acf8b2268c6f48dcf73e1e47753.tar.gz
power: supply: core: Add psy_has_property()
Add the helper psy_has_property() to check whether a power supply has a given property and use it instead of ad hoc iterations over the property list in multiple locations. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/spi/spi-sh.c')
0 files changed, 0 insertions, 0 deletions