/**
  * enum hl_asic_type - supported ASIC types.
- * @ASIC_AUTO_DETECT: ASIC type will be automatically set.
- * @ASIC_GOYA: Goya device.
  * @ASIC_INVALID: Invalid ASIC type.
+ * @ASIC_GOYA: Goya device.
  */
 enum hl_asic_type {
-       ASIC_AUTO_DETECT,
-       ASIC_GOYA,
-       ASIC_INVALID
+       ASIC_INVALID,
+       ASIC_GOYA
 };
 
 struct hl_cs_parser;
 
        hdev->disabled = true;
        hdev->pdev = pdev; /* can be NULL in case of simulator device */
 
-       if (asic_type == ASIC_AUTO_DETECT) {
+       if (pdev) {
                hdev->asic_type = get_asic_type(pdev->device);
                if (hdev->asic_type == ASIC_INVALID) {
                        dev_err(&pdev->dev, "Unsupported ASIC\n");
                 " device found [%04x:%04x] (rev %x)\n",
                 (int)pdev->vendor, (int)pdev->device, (int)pdev->revision);
 
-       rc = create_hdev(&hdev, pdev, ASIC_AUTO_DETECT, -1);
+       rc = create_hdev(&hdev, pdev, ASIC_INVALID, -1);
        if (rc)
                return rc;