linux/scripts/coccinelle/free
Rob Herring 83c4a4eec0 of: Remove of_dev_{get,put}()
of_dev_get() and of_dev_put are just wrappers for get_device()/put_device()
on a platform_device. There's also already platform_device_{get,put}()
wrappers for this purpose. Let's update the few users and remove
of_dev_{get,put}().

Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Julia Lawall <Julia.Lawall@inria.fr>
Cc: Gilles Muller <Gilles.Muller@inria.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-usb@vger.kernel.org
Cc: cocci@systeme.lip6.fr
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210211232745.1498137-2-robh@kernel.org
2021-02-12 19:23:39 -06:00
..
clk_put.cocci treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 2019-06-19 17:11:22 +02:00
devm_free.cocci mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
ifnullfree.cocci coccinelle: ifnullfree: add vfree(), kvfree*() functions 2020-09-02 11:11:26 +02:00
iounmap.cocci remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
kfree.cocci mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
kfreeaddr.cocci mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
pci_free_consistent.cocci treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 2019-06-19 17:11:22 +02:00
put_device.cocci of: Remove of_dev_{get,put}() 2021-02-12 19:23:39 -06:00