Messages in this thread | | | From | Mariusz Kozlowski <> | Subject | Re: [PATCH] pata_acpi: take two | Date | Wed, 7 Feb 2007 21:38:02 +0100 |
| |
Hello,
Just asking ... in:
> +static void *ata_pata_find_handle(struct device *dev, int port)
...
> + chan_handle = acpi_get_child(handle, port); > + if (chan_handle == NULL) > + return NULL; > + return chan_handle; > +}
why not simply:
return acpi_get_child(hadnle, port);
?
Regards,
Mariusz Kozlowski - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |