kobject documentation: remove default_attrs information
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jan 2022 10:50:24 +0000 (11:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jan 2022 10:23:37 +0000 (11:23 +0100)
commitc9512fd032acfe6f5198c30b6e7e52e0a7df5d31
tree255c3e24e83cdb29affc31aac03f79be1e68a173
parent0589e8889dce8e0f0ea5bbf757f38865e2a469c1
kobject documentation: remove default_attrs information

Since commit aa30f47cf666 ("kobject: Add support for default attribute
groups to kobj_type") we have been encouraging the use of default_groups
instead of default_attrs, so reflect that information in the
documentation as well so that no new users get added while the kernel is
converted over to not use this field anymore.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220104105024.1014313-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/core-api/kobject.rst
Documentation/translations/zh_CN/core-api/kobject.rst