OSDN Git Service

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 02:19:44 +0000 (19:19 -0700)
commit152684089ea39e38b17feb1dfb366bf3f2fb146a
tree9ebb4408cd647d0dd06d1a9961760a0246aaa757
parentdc19e98eb86e37371a0c7817abd1f2a19480187c
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