Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

From: Quentin Lambert
Date: Thu May 28 2015 - 10:00:01 EST




On 28/05/2015 15:52, Takashi Iwai wrote:
At Thu, 28 May 2015 14:48:27 +0200,
Quentin Lambert wrote:
You should use dev_groups instead of the dev_attrs field of struct
bus_type. This converts the MDIO bus code to use the correct field.

These modifications were made using Coccinelle.

Signed-off-by: Quentin Lambert <lambert.quentin@xxxxxxxxx>
What's wrong with dev_attrs?
(Not offending, I'm just curious where the preference for dev_groups
is referred...)

This patch is based on commit 4192c74940e23da727eb02b7b4ee779dde2f670,
its message indicates that dev_attrs is going away.

Quentin

--
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/