soc: qcom: ice: Remove the device_link field in qcom_ice
authorJoe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Wed, 30 Oct 2024 02:50:46 +0000 (11:50 +0900)
committerBjorn Andersson <andersson@kernel.org>
Tue, 12 Nov 2024 04:03:30 +0000 (22:03 -0600)
commit54a8cd0f92068a3718092f68c8ae99e2078f44b6
tree64f8dfaad8addcc3f20bdf511c85fbbca15c1144
parent98e5b7f98356cef2f13b54862ca9ac016b71ff06
soc: qcom: ice: Remove the device_link field in qcom_ice

The struct device_link *link field in struct qcom_ice is only used to
store the result of a device_link_add call with the
DL_FLAG_AUTOREMOVE_SUPPLIER flag. With this flag, the resulting value
can only be used to check whether the link is present or not, as per the
device_link_add description, hence this commit removes the field.

Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/20241030025046.303342-1-joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/ice.c