s390/cio: use kobj_to_dev() API
Use kobj_to_dev() API instead of container_of(). Reviewed-by: NCornelia Huck <cohuck@redhat.com> Signed-off-by: Nchenqiwu <chenqiwu@xiaomi.com> Signed-off-by: Nchenqiwu <qiwuchen55@gmail.com> Message-Id: <1581688293-17283-1-git-send-email-qiwuchen55@gmail.com> Signed-off-by: NVasily Gorbik <gor@linux.ibm.com>
Showing
想要评论请 注册 或 登录