Bluetooth: btbcm: Use devm_kstrdup()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 17 Feb 2024 07:30:42 +0000 (08:30 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 6 Mar 2024 22:24:06 +0000 (17:24 -0500)
commitf9183eaad91521ba1c04a19e5606ae61560a735e
tree820683613b3e83b6830f5f190820dc4c7f9698c2
parente49f18b92bd1023407281e7f60b7010c12edc3b1
Bluetooth: btbcm: Use devm_kstrdup()

Use devm_kstrdup() instead of hand-writing it.
It is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btbcm.c