PM / devfreq: rockchip-dfi: Embed desc into private data struct
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 4 Jul 2023 09:32:18 +0000 (11:32 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 8 Oct 2023 22:28:50 +0000 (07:28 +0900)
commitbbf479005436d5e33eea25e077bb724358fe8848
tree95a5feadbf3e392f1c22adca26bb35df5e23d8ab
parent1e0731c05c985deb68a97fa44c1adcd3305dda90
PM / devfreq: rockchip-dfi: Embed desc into private data struct

No need for an extra allocation, just embed the struct
devfreq_event_desc into the private data struct.

Link: https://lore.kernel.org/lkml/20230704093242.583575-3-s.hauer@pengutronix.de/
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/rockchip-dfi.c