summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-12-29 18:50:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 17:08:25 +0300
commit00ce7c6e86b5d1f04c4feb9e010b0408c7be1002 (patch)
treecfe5da3e6729013c654ef3aebf6a829adfae0c71 /include/linux/node.h
parent6cde11dbf4b65170eeefba48df730c93d75e01a3 (diff)
downloadlinux-00ce7c6e86b5d1f04c4feb9e010b0408c7be1002.tar.xz
tty: serial: qcom-geni-serial: improve the to_dev_port() macro
The member we want to resolve in struct qcom_geni_serial_port is called uport so we don't need an additional redundant parameter in this macro. While at it: turn the macro into a static inline function. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20221229155030.418800-6-brgl@bgdev.pl Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions