diff
7  hdev = devm_kzalloc(&pdev->dev, sizeof(*hdev), GFP_KERNEL);
8  if (!hdev)
+    return -ENOMEM;
11  hdev->pdev = pdev;
