staging/greybus: eliminate use of NAME_SIZE for strings
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Sun, 21 Feb 2021 15:42:59 +0000 (21:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:33 +0000 (09:25 +0100)
commit1e37da45ce624bcd074443208b8a5b1c39dd4231
tree4d5b58110f69b4ec3cb81ca08d49f178a61263d7
parentf63a044747fef2bf14dc37b74bfed2735c70350d
staging/greybus: eliminate use of NAME_SIZE for strings

Instead, depend on the size of the destination buffer for easier
refactoring.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20210221154258.119503-1-memxor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_module.c
drivers/staging/greybus/audio_topology.c