docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE
RFC PATCH 1/1 docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE
Since 30b5707c26 (qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros) we don't need the additional two parameters. Fix the documentation.
--- docs/devel/qom.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
docs/devel/qom.rst +1 -2
@@ -292,8 +292,7 @@ in the header file: .. code-block:: c :caption: Declaring a simple type - OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, my_device, - MY_DEVICE, DEVICE) + OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, MY_DEVICE) This is equivalent to the following:
Signature · 1 line
2.30.2
Quoted 8 lines · Alex Bennée
Since
30b5707c26(qom: Removemodule_obj_nameparameter from OBJECT_DECLARE* macros) we don't need the additional two parameters. Fix the documentation.Signed-off-by Alex Bennée<[email protected]>--- docs/devel/qom.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
r~
Quoted 8 lines · Alex Bennée
Since
30b5707c26(qom: Removemodule_obj_nameparameter from OBJECT_DECLARE* macros) we don't need the additional two parameters. Fix the documentation.Signed-off-by Alex Bennée <[email protected]>--- docs/devel/qom.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Quoted 14 lines · Alex Bennée
Since
30b5707c26(qom: Removemodule_obj_nameparameter from OBJECT_DECLARE* macros) we don't need the additional two parameters. Fix the documentation.Signed-off-by Alex Bennée <[email protected]>--- docs/devel/qom.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)docs/devel/qom.rst +0
-0
docs/devel/qom.rst in the header file: · line 297
Quoted 8 lines
docs/devel/qom.rst +1
-2@@ -292,8 +292,7 @@ in the header file: .. code-block:: c :caption: Declaring a simple type - OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, my_device, - MY_DEVICE, DEVICE) + OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, MY_DEVICE) This is equivalent to the following:
Queued to testing/next, thanks.
Signature · 1 line
Alex Bennée