drivers: staging: most: use swabXX functions of kernel
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 4 Nov 2020 12:50:42 +0000 (13:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 10:02:53 +0000 (11:02 +0100)
commiteb27cf085cc8a487ea8a35b7cbdd2f7697c52274
treeb796e21c1e15d8597a228e9f0b50f3e3f47cce02
parent096f64905f0c5ab82918a0bdc42d503ef1bad98c
drivers: staging: most: use swabXX functions of kernel

This patch makes use of the swab16() and swab32() functions available
in the kernel instead of using own implementations.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1604494242-3414-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/sound/sound.c