PM / devfreq: exynos-events: change matching code during probe
authorLukasz Luba <l.luba@partner.samsung.com>
Wed, 5 Jun 2019 09:12:33 +0000 (11:12 +0200)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Sun, 25 Aug 2019 03:36:47 +0000 (12:36 +0900)
commit0ae9c3213c2ca34f7e7ebad1436267778d37ba9f
tree50dae14beafa83c2a439b219506ec543ed59e194
parent23ca7d2503d895c80b65e4321fc6cc678c7642f2
PM / devfreq: exynos-events: change matching code during probe

The patch changes the way how the 'ops' gets populated for different
device versions. The matching function now uses 'of_device_id' in order
to identify the device type.

Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/event/exynos-ppmu.c