kernel/drivers/s390/crypto/vfio_ap_drv.c
.. .. @@ -82,8 +82,9 @@ 82 82 83 83 static void vfio_ap_matrix_dev_release(struct device *dev) 84 84 { 85 - struct ap_matrix_dev *matrix_dev = dev_get_drvdata(dev);85 + struct ap_matrix_dev *matrix_dev;86 86 87 + matrix_dev = container_of(dev, struct ap_matrix_dev, device);87 88 kfree(matrix_dev); 88 89 } 89 90