8 Apr
2021
8 Apr
'21
1:25 p.m.
Dne 08. 04. 21 v 12:38 Takashi Sakamoto napsal(a):
static DEVICE_ATTR(number, 0444, card_number_show_attr, NULL);
Use DEVICE_ATTR_RO() instead.
My proposal is consistent with the existing code. The cleanups should go on top.
Jaroslav
--
Jaroslav Kysela perex@perex.cz
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.