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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux