diff options
author | Fuqian Huang | 2019-07-04 04:36:27 +0200 |
---|---|---|
committer | Jassi Brar | 2019-07-11 06:08:44 +0200 |
commit | 7836922d87175dbc9bc972a1aca08d2c8b6f5045 (patch) | |
tree | bd37d040640f17494c498e5607cf667ca4f879da /include/linux/usb | |
parent | mailbox: imx: Clear GIEn bit at shutdown (diff) | |
download | kernel-qcow2-linux-7836922d87175dbc9bc972a1aca08d2c8b6f5045.tar.gz kernel-qcow2-linux-7836922d87175dbc9bc972a1aca08d2c8b6f5045.tar.xz kernel-qcow2-linux-7836922d87175dbc9bc972a1aca08d2c8b6f5045.zip |
mailbox: bcm-flexrm-mailbox: using dev_get_drvdata directly
Several drivers cast a struct device pointer to a struct
platform_device pointer only to then call platform_get_drvdata().
To improve readability, these constructs can be simplified
by using dev_get_drvdata() directly.
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions