Re: [PATCH] mmc: make dev_to_mmc_card() macro public

From: Andrew Morton
Date: Thu Aug 19 2010 - 17:49:33 EST


On Wed, 18 Aug 2010 16:31:18 +0300
Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:

> Conversion from struct device to struct mmc_card is used more than in one
> place. Due to this it's better to have public macro for such thing.
>

nit: generally, subsystem-specific identifiers should use their
subsystem's identifier as a prefix. So a better name for
dev_to_mmc_card() would be mmc_dev_to_card().

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/