commit | af26bebea1199d8cbefd39b42ade40698504afba | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Sun Sep 20 02:24:55 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Wed Sep 30 18:53:27 2020 +0200 |
tree | b521b834addbbefc43ad779c87176d06dacfbbb6 | |
parent | 39118499a62623d32c67ffd93d94ed5f27bfc736 [diff] |
leds: pca963x: use devres LED registering function By using devres version of LED registering function we can remove the .remove method from this driver. The probe method also gets simpler. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Cc: Peter Meerwald <p.meerwald@bct-electronic.com> Cc: Ricardo Ribalda <ribalda@kernel.org> Cc: Zahari Petkov <zahari@balena.io> Signed-off-by: Pavel Machek <pavel@ucw.cz>