> +     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.

Attachment: signature.asc
Description: Digital signature

Reply via email to