diff options
author | Charles Keepax <[email protected]> | 2014-04-24 18:27:25 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2014-06-03 08:11:18 +0100 |
commit | d137be00ee017bc40e6027cb66d667a2e0b450fd (patch) | |
tree | 50ceb31fcd2babe58e41d7103d6fb86ecab67c39 /fs/jbd2/commit.c | |
parent | 1ec93b9b176b3c4e065c326ccf40458fcc01e6c0 (diff) |
mfd: core: Don't use devres functions before device is added
The supply aliases for the MFD devices were being added using devres but
the device hasn't been added at this point and as such we can't use
devres.
The MFD already has a function that removes devices this patch uses the
non-devres versions of the supply alias functions and adds an unregister
in mfd_remove_devices_fn.
Reported-by: Carlo Caione <[email protected]>
Reported-by: Mark Brown <[email protected]>
Signed-off-by: Charles Keepax <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions