diff options
| author | 2021-02-05 23:28:39 +0100 | |
|---|---|---|
| committer | 2021-02-16 19:41:26 -0800 | |
| commit | 8029968e2ae02361f376751459dc644b45970b40 (patch) | |
| tree | e6a27cb333ff2c7afecf017d9bc8ff31d980bd41 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | device-dax: Prevent registering drivers without probe callback (diff) | |
| download | linux-dev-8029968e2ae02361f376751459dc644b45970b40.tar.xz linux-dev-8029968e2ae02361f376751459dc644b45970b40.zip | |
device-dax: Properly handle drivers without remove callback
If all resources are allocated in .probe() using devm_ functions it
might make sense to not provide a .remove() callback. Then the right
thing is to just return success.
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20210205222842.34896-3-uwe@kleine-koenig.org
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
