-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doxygen] add doxygen comment for clk.c and clk.h #9950
Conversation
请rebase之后再提交,ci问题处理一下 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 PR 的改动除了 doxygen 注释,还改了源代码逻辑,这对 review 和代码维护(譬如 revert 等)都不方便,我们尽量确保一个 PR 只涉及一个主题。
请将两部分改动拆分提交。单纯增加 doxygen 注释的提一个 pr,涉及代码改动 (函数定义的) 的另外提一个 pr(和这个 API 改动相关的 doxygen 注释可以放一起一个 PR).
另外有个疑问,修改的函数是 API 接口吗,对其他调用的地方有没有影响?请检查一下。
是API接口,目前只在当前文件产生调用 |
rebase一下 |
Accroding to RT-Thread#9947 and RT-Thread#9424, adding doxygen comment for function in .c files and data structure, macro in .h file is a solution.For this pr, I encountered problem following situations. - rt_clk_unprepare function return value type is different from rt_clk_ops so I change type of rt_clk_unprepare and its dependencies. - clk_get function may be similar as rt_clk_unprepare but I'm not sure so not modify. - clk_release implements may be incomplete, so I just marked in comment. Signed-off-by: 1078249029 <[email protected]>
Accroding to RT-Thread#9947 and RT-Thread#9424, adding doxygen comment for function in .c files and data structure, macro in .h file is a solution.For this pr, I encountered problem following situations. - rt_clk_unprepare function return value type is different from rt_clk_ops so I change type of rt_clk_unprepare and its dependencies. - clk_get function may be similar as rt_clk_unprepare but I'm not sure so not modify. - clk_release implements may be incomplete, so I just marked in comment. Signed-off-by: 1078249029 <[email protected]>
Accroding to RT-Thread#9950 , function and declaration should be fixed. Signed-off-by: 1078249029 <[email protected]>
Accroding to RT-Thread#9950 , function and declaration should be fixed. Signed-off-by: 1078249029 <[email protected]>
Accroding to RT-Thread#9950 , function and declaration should be fixed. Signed-off-by: 1078249029 <[email protected]>
Accroding to RT-Thread#9947 and RT-Thread#9424, adding doxygen comment for function in .c files and data structure, macro in .h file is a solution.For this pr, I encountered problem following situations. - rt_clk_unprepare function return value type is different from rt_clk_ops so I change type of rt_clk_unprepare and its dependencies. - clk_get function may be similar as rt_clk_unprepare but I'm not sure so not modify. - clk_release implements may be incomplete, so I just marked in comment. Signed-off-by: 1078249029 <[email protected]>
Accroding to RT-Thread#9950 , function and declaration should be fixed. Signed-off-by: 1078249029 <[email protected]>
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
Accroding to #9947 and #9424, adding doxygen comment for function in .c files and data structure, macro in .h file is a solution.For this pr, I encountered problem following situations.
你的解决方案是什么 (what is your solution)
请提供验证的bsp和config (provide the config and bsp)
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up