spi: dw: Make debugfs name unique between instances
authorPhil Reid <preid@electromag.com.au>
Thu, 22 Dec 2016 09:18:12 +0000 (17:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Aug 2017 01:59:45 +0000 (18:59 -0700)
commit14e5c8c61791d03e69de94affc149dcb6735aa66
treebe6afe4c72b1ac612ab337b6f2435304afe623ea
parented788dc6fa65f74a5f82f9fe5d7ea46d17cdaf87
spi: dw: Make debugfs name unique between instances

[ Upstream commit 13288bdf4adbaa6bd1267f10044c1bc25d90ce7f ]

Some system have multiple dw devices. Currently the driver uses a
fixed name for the debugfs dir. Append dev name to the debugfs dir
name to make it unique.

Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-dw.c