parameters: only show possible enumerations if there are any
Enumeration values will only be shown if there are at least two of them.
With only one enumeration, it was just repeating what was previously printed
anyway.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 287c032 commit 9b57fd27f520700154f294bd122a72ef052fef7b
@Holger Schurig Holger Schurig authored on 30 May 2014
Sascha Hauer committed on 2 Jun 2014
Showing 1 changed file
View
lib/parameter.c