summaryrefslogtreecommitdiffstats
tag namedevm-clk-get-enabled (8f9a2dbfdbbfb4bfb3feefbc5299b6a547cdee15)
tag date2021-06-09 22:48:47 +0200
tagged byUwe Kleine-König <uwe@kleine-koenig.org>
tagged objectcommit 94d9fc61fb...
downloadlinux-devm-clk-get-enabled.tar.gz
linux-devm-clk-get-enabled.tar.xz
New variants of devm_clk_get() for prepared and enabled clocks
These two patches create a set of new devm helpers that return clocks already prepared or prepared-and-enabled. The automatic cleanup cares for unpreparing and disabling+unpreparing respectively. This allows to simplify various drivers as was demonstrated with additional patches sent with the various revisions of this patch set. See https://lore.kernel.org/r/20210510174142.986250-1-u.kleine-koenig@pengutronix.de for the last submission round. This pull request doesn't contain these patches though. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmDBKTQACgkQwfwUeK3K 7AnDsgf/QXmn++YjdqtAJ47edMpUdq2t+q7u/fysf911dQhiFxjItH/yGPZLmxwC WnssQCca2UnzKaU45v/f9IutRELa5Yk7V9GMEOBG65uI4HetqVq1sNSHfSJhLJTD WUlMdVQnVzUPs/tFbtLrvLeYFZq0E6nuFY0GEK7+23xNQ1hLYQTsT97cznne0KZI iIIqIGAKclzQ46RyTAaoQAVyFzi/M8/ly8rnAj1HOcVT5+0O6I5/UBx1Hy4nvGwz MN32gT1btG0i5zBK+CsuZMXNXT6y1K8i2g2FKUmpuV01EQiNCQcR7zjGvKPIU0Yo FG3JDvh5GyBMWFL20EvHI1OQioGHiA== =vysi -----END PGP SIGNATURE-----