mtd: name the mtd device with an optional label property
authorCédric Le Goater <clg@kaod.org>
Thu, 9 Feb 2017 09:21:07 +0000 (10:21 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 10 Feb 2017 18:16:34 +0000 (10:16 -0800)
commit28309572aac4c632666053dc8bf9906a3594b8d2
tree4d4dad6449ea7c846a9db20200b874e61cba93dc
parent398d8739bb900562f40e22aebdfc9970803d04b7
mtd: name the mtd device with an optional label property

This can be used to easily identify a specific chip on a system with
multiple chips.

Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/mtd.h