staging: most: core: remove trailing zero from text property
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Wed, 21 Sep 2016 12:49:08 +0000 (14:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:54:46 +0000 (11:54 +0200)
commit22ff195b5a42a6935f624bcb995b6d051ee68872
tree841d206747080a731789f90cd790632eaad7b4be
parenta6f9d846cc0980ef85ba9a2c863cef2f6202ac83
staging: most: core: remove trailing zero from text property

This patch removes trailing zeros from the strings returned by the
attributes available_datatypes and available_directions.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/mostcore/core.c