diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-03-23 14:04:48 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2018-03-27 10:39:47 +0200 |
commit | e2749bb998701e21cdb8b34486b82fc1c051ab41 (patch) | |
tree | c556d6f584df155e4ab6f56f88f4a4f928f4e836 /block/blk-sysfs.c | |
parent | 6691dffab0ab6301bb7b489b1dcf9f5efdef202f (diff) | |
download | linux-e2749bb998701e21cdb8b34486b82fc1c051ab41.tar.bz2 |
reset: modify the way reset lookup works for board files
Commit 7af1bb19f1d7 ("reset: add support for non-DT systems")
introduced reset control lookup mechanism for boards that still use
board files.
The routine used to register lookup entries takes the corresponding
reset_controlled_dev structure as argument.
It's been determined however that for the first user of this new
interface - davinci psc driver - it will be easier to register the
lookup entries using the reset controller device name.
This patch changes the way lookup entries are added.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
[p.zabel@pengutronix.de: added missing ERR_PTR]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions