]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd054555dba2f8713eb3107bc899c494d0bb027cd
tree841d206747080a731789f90cd790632eaad7b4be
parent4bfc6d7a36fa4fb930c124d610e2c1d25a018629
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