]> git.baikalelectronics.ru Git - kernel.git/commit
phy: phy-mtk-dp: make array driving_params static const
authorColin Ian King <colin.i.king@gmail.com>
Thu, 29 Sep 2022 13:01:47 +0000 (14:01 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 29 Sep 2022 15:31:27 +0000 (21:01 +0530)
commitc0d28dbff78bdc005c0b98f64cb946f0eaafdbac
treeaa81e7b69acb143180f8fc826c7af19b2a560581
parentec2ea323ae9f22e9059503d865e8299fdd571ef3
phy: phy-mtk-dp: make array driving_params static const

Don't populate the read-only array driving_params on the stack but instead
make it static const. Also makes the object code a little smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220929130147.97375-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-dp.c