ALSA: virtio: use module_virtio_driver() to simplify the code
authorChen Huang <chenhuang5@huawei.com>
Thu, 8 Apr 2021 12:54:29 +0000 (12:54 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Apr 2021 10:15:34 +0000 (12:15 +0200)
commitd91cbe83d319e8923d36f974d8c9b1e1b56fea62
tree907e3252a72bee53a5decaf9f1549c239a4e47a0
parent618fad3d921a781fe500bdf8cbecbf2c4ec1f696
ALSA: virtio: use module_virtio_driver() to simplify the code

module_virtio_driver() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: Chen Huang <chenhuang5@huawei.com>
Reviewed-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
Link: https://lore.kernel.org/r/20210408125429.1158703-1-chenhuang5@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/virtio/virtio_card.c