summaryrefslogtreecommitdiffstats
path: root/crypto/ccm.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-12-22 07:43:44 +0100
committerLinus Walleij <linus.walleij@linaro.org>2021-12-26 04:22:11 +0100
commit4b1643cb57da8df86c02a0826cb12ed750abaed7 (patch)
tree4b04d31fbc9a99a9e68ea789eed7ca9c4cb23fde /crypto/ccm.c
parentpinctrl: imx: fix allocation result check (diff)
downloadlinux-4b1643cb57da8df86c02a0826cb12ed750abaed7.tar.xz
linux-4b1643cb57da8df86c02a0826cb12ed750abaed7.zip
pinctrl: bcm: ns: use generic groups & functions helpers
This simplifies ns driver and gets rid of ~70 lines of code. "const" had to be dropped from "struct ns_pinctrl_group" @pins to match "struct group_desc" @pins and pinctrl_generic_add_group(). Otherwise it would cause: drivers/pinctrl/bcm/pinctrl-ns.c: In function 'ns_pinctrl_probe': drivers/pinctrl/bcm/pinctrl-ns.c:277:13: warning: passing argument 3 of 'pinctrl_generic_add_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | group->pins, group->num_pins, NULL); | ~~~~~^~~~~~ Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Link: https://lore.kernel.org/r/20211222064344.14624-1-zajec5@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions