commit | 8029968e2ae02361f376751459dc644b45970b40 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <uwe@kleine-koenig.org> | Fri Feb 05 23:28:39 2021 +0100 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Feb 16 19:41:26 2021 -0800 |
tree | e6a27cb333ff2c7afecf017d9bc8ff31d980bd41 | |
parent | 5b8e64f1ada37574b9ab124e1414af2adf688a19 [diff] |
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>