> + dev = devm_kzalloc(&pdev->dev, sizeof(*dev), > + GFP_KERNEL); > + if (IS_ERR(base)) > + return PTR_ERR(base); Found a typo here, should be IS_ERR(dev) and PTR_ERR(dev). Is the patch acceptable apart from that now? Greetings, Florian