[PATCH 09/16] mmc: sdhci-xenon: use new match_string() helper/macro

Dan Carpenter dan.carpenter at oracle.com
Wed May 8 12:20:10 UTC 2019


On Wed, May 08, 2019 at 02:28:35PM +0300, Alexandru Ardelean wrote:
> -static const char * const phy_types[] = {
> -	"emmc 5.0 phy",
> -	"emmc 5.1 phy"
> -};
> -
>  enum xenon_phy_type_enum {
>  	EMMC_5_0_PHY,
>  	EMMC_5_1_PHY,
>  	NR_PHY_TYPES

There is no need for NR_PHY_TYPES now so you could remove that as well.

regards,
dan carpenter



More information about the devel mailing list