mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
Update devfreq next for v6.4
Detailed description for this pull request:
1. Remove unneeded SRCU selection in Kconfig because it's always set from
devfreq core.
2. Fix minor updates of devfreq drivers
- Drop of_match_ptr macro from exynos-bus.c because this driver is always using
the DT table for driver probe.
- Use the preferred of_property_present instead of the low-level of_get_property
on exynos-bus.c
- Use devm_platform_get_and_ioream_resource on exyno-ppmu.c
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEsSpuqBtbWtRe4rLGnM3fLN7rz1MFAmQ7/4oACgkQnM3fLN7r
z1OKww//Rs4UImLJHrwnrGNYj3Q7k5nqLIcqf+DsTKVIM/zEvAfNmwBAkr5aVpCO
cG1SvqTYAdZ+itOH+0ezpzxpaL1uk2LJTlMra0yjjVMm53+NjPpjInIwFCV4+jAY
fWUDlH56xyTDPcbtWwHE7+Fl3Kka0bl4pRoqTjOZmE9ZSIVZtUvx4owz/uth0uyZ
BJPvojeWbWN4MErXaWW8KXz0ni4Sp610v32hso/5iYHiwy8zdpNzFR0IS635dbVX
sqRlgbmNTI0vUfoQQFTcrRtLztc7f2erJAYrkIBO1bi0y3I7Afgdsqyh8yXdstll
RJykdncdQLgZosrMd2MAEiquKbJlYD4ZWJ56mB09pumysm1xUYsPooPCjgtSU/+n
BD9BIwCwxyEOUxr/WzXfWi0l4H4sg7cqsAWLg+oBNKBqcQutnV3V7iCCJ4vOCbWr
XMWC1sROWcfN7COHdufn/rCy/XcYSAQ0z9NpfJLm092dIHo4esqonElrMv9NVUUY
fFPpfsQD8/6DmD25N6IpHPBa/H8nEnJDibinW+Eh4Z4GWbaHwQOIN9kUdcozOxXS
XUzUd2G+rdZ/G7oy+gX1RXFBq8+r4qFBMT3AXtquwllhze9y5qRf7utUOUGQaXcn
2D/KEHZ/JYHW5wP17bYShi/N+RAR2HYETNX2AzE3P16zL+aF0T8=
=u1dh
-----END PGP SIGNATURE-----
Merge tag 'devfreq-next-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux
Pull devfreq updates for v6.4 from Chanwoo Choi:
"1. Remove unneeded SRCU selection in Kconfig because it's always set from
devfreq core.
2. Fix minor updates of devfreq drivers
- Drop of_match_ptr macro from exynos-bus.c because this driver is
always using the DT table for driver probe.
- Use the preferred of_property_present instead of the low-level
of_get_property on exynos-bus.c
- Use devm_platform_get_and_ioream_resource on exyno-ppmu.c"
* tag 'devfreq-next-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux:
PM / devfreq: exynos-ppmu: Use devm_platform_get_and_ioremap_resource()
PM / devfreq: exynos: Use of_property_present() for testing DT property presence
PM / devfreq: exyos-bus: drop of_match_ptr for ID table
PM / devfreq: Remove "select SRCU"
This commit is contained in:
commit
8271f3846f
|
|
@ -1,7 +1,6 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
menuconfig PM_DEVFREQ
|
||||
bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support"
|
||||
select SRCU
|
||||
select PM_OPP
|
||||
help
|
||||
A device may have a list of frequencies and voltages available.
|
||||
|
|
|
|||
|
|
@ -621,8 +621,7 @@ static int exynos_ppmu_parse_dt(struct platform_device *pdev,
|
|||
}
|
||||
|
||||
/* Maps the memory mapped IO to control PPMU register */
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
base = devm_ioremap_resource(dev, res);
|
||||
base = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
|
||||
if (IS_ERR(base))
|
||||
return PTR_ERR(base);
|
||||
|
||||
|
|
|
|||
|
|
@ -432,7 +432,7 @@ static int exynos_bus_probe(struct platform_device *pdev)
|
|||
goto err;
|
||||
|
||||
/* Create child platform device for the interconnect provider */
|
||||
if (of_get_property(dev->of_node, "#interconnect-cells", NULL)) {
|
||||
if (of_property_present(dev->of_node, "#interconnect-cells")) {
|
||||
bus->icc_pdev = platform_device_register_data(
|
||||
dev, "exynos-generic-icc",
|
||||
PLATFORM_DEVID_AUTO, NULL, 0);
|
||||
|
|
@ -513,7 +513,7 @@ static struct platform_driver exynos_bus_platdrv = {
|
|||
.driver = {
|
||||
.name = "exynos-bus",
|
||||
.pm = &exynos_bus_pm,
|
||||
.of_match_table = of_match_ptr(exynos_bus_of_match),
|
||||
.of_match_table = exynos_bus_of_match,
|
||||
},
|
||||
};
|
||||
module_platform_driver(exynos_bus_platdrv);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user