diff options
author | Ira Weiny <ira.weiny@intel.com> | 2021-12-01 20:43:01 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-03 16:41:50 +0100 |
commit | cb2ba75935558e65f2c4fe411a78c375b2c64cb4 (patch) | |
tree | 47b29f6d5a70bf53ac735bef39ea98dffaaf90e2 /drivers/platform/x86/intel/pmt/class.c | |
parent | 0d058a206adadf0c38f891b19dbdcb2963a1cd20 (diff) | |
download | linux-cb2ba75935558e65f2c4fe411a78c375b2c64cb4.tar.bz2 |
Documentation/auxiliary_bus: Update Auxiliary device lifespan
It was unclear when the auxiliary device objects were to be free'ed by
the parent (registering) driver.
Also there are some patterns like using devm_add_action_or_reset() which
are helpful to mention to those using the interface to ensure they don't
double free or miss freeing the auxiliary devices.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20211202044305.4006853-4-ira.weiny@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions