media: atomisp: add a notice about possible leak resources
[linux-2.6-microblaze.git] / drivers / staging / media / atomisp / i2c / atomisp-gc2235.c
index e863e19..a12dd0e 100644 (file)
@@ -1059,9 +1059,9 @@ static int gc2235_probe(struct i2c_client *client)
                dev_err(&client->dev, "Error could not get ACPI device\n");
                return -ENODEV;
        }
-
        pr_info("%s: ACPI detected it on bus ID=%s, HID=%s\n",
                __func__, acpi_device_bid(adev), acpi_device_hid(adev));
+       // FIXME: may need to release resources allocated by acpi_bus_get_device()
 
        dev = kzalloc(sizeof(*dev), GFP_KERNEL);
        if (!dev)