Skip to content
Commit 9e7bd945 authored by Guosong Su's avatar Guosong Su Committed by Martin K. Petersen
Browse files

scsi: core: use kobj_to_dev

Use kobj_to_dev to instead of open-coding it.

Link: https://lore.kernel.org/r/20200225100411.10250-1-guosongsu@gmail.com


Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarGuosong Su <suguosong@xiaomi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b3222c32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment