Skip to content
Commit 7836922d authored by Fuqian Huang's avatar Fuqian Huang Committed by Jassi Brar
Browse files

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: default avatarFuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 11108f46
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment