aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-09-29 18:19:15 +0200
committerThierry Reding <[email protected]>2023-10-13 10:07:18 +0200
commit21c0e1aaf7ef0ac3c67e4e1ab68c080adb2a186b (patch)
tree34bda0b88328b47df8866565a2130116bdd6e32f /scripts/gcc-plugins/randomize_layout_plugin.c
parentd8a2f6f26a079f3d0a34b6146e332797218cb5de (diff)
pwm: sprd: Simplify using devm_pwmchip_add() and dev_err_probe()
Using devm_pwmchip_add() allows to drop pwmchip_remove() from the remove function which makes this function empty. Then there is no user of drvdata left and platform_set_drvdata() can be dropped, too. Further simplify and improve error returning using dev_err_probe(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions