summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-ti-ehrpwm.c
diff options
context:
space:
mode:
authorYannic Moog <y.moog@phytec.de>2025-07-01 07:45:37 +0200
committerTom Rini <trini@konsulko.com>2025-07-09 10:39:22 -0600
commit538719cb6a77934d069e0e64f264457a59a9ebfc (patch)
tree4b64de6efb1e56acf075926dd34302afa402c130 /drivers/pwm/pwm-ti-ehrpwm.c
parentbbca681cde3f0859847bd542e491294fd9d67656 (diff)
binman: migrate from pkg_resources to importlib
pkg_resources is deprecated, use migration guide in [1] to migrate to importlib.resources. Keep the Python 3.6 backwards compatibility. This also fixes the binman version test which failed for setuptools versions that print the deprecation warning. Change from __name__ to __package__ as with the transition from pkg_resources to importlib_resources using __name__ results in TypeErrors [2]. [1] https://importlib-resources.readthedocs.io/en/latest/migration.html [2] https://github.com/python/importlib_resources/issues/60 Reviewed-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Yannic Moog <y.moog@phytec.de>
Diffstat (limited to 'drivers/pwm/pwm-ti-ehrpwm.c')
0 files changed, 0 insertions, 0 deletions