> + if (!np) {
> + dev_err(&adev->dev, "no device node\n");
> + return -ENODEV;Can this really happen? How should driver and device match otherwise? Rest is looking good.
signature.asc
Description: Digital signature
> + if (!np) {
> + dev_err(&adev->dev, "no device node\n");
> + return -ENODEV;Can this really happen? How should driver and device match otherwise? Rest is looking good.
signature.asc
Description: Digital signature