ALSA: ac97: Remove redundant driver match function
authorLizhe <sensor1010@163.com>
Sun, 19 Mar 2023 04:47:33 +0000 (12:47 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Mar 2023 07:50:02 +0000 (08:50 +0100)
commitb1e675d1b57eb991a5e194e8648477a98f612617
tree6d51ebe604123bd1e5d4ce197890aebab2b63976
parent6aa9b1d071bf62e7489601f57a13da55b1a96add
ALSA: ac97: Remove redundant driver match function

If there is no driver match function, the driver core assumes that each
candidate pair (driver, device) matches, see driver_match_device()

Drop the bus's match function that always returned 1 and so
implements the same behaviour as when there is no match function.

Signed-off-by: Lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20230319044733.327091-1-sensor1010@163.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ac97_bus.c