On Wed, 22 Dec 2021 at 10:11, Sean Anderson <sean...@gmail.com> wrote: > > This converts the existing driver API docs (clk-uclass.h) to kernel doc > format and adds them to the HTML documentation. Because the kernel doc > sphinx converter does not handle functions in structs very well, the > individual methods are documented separately. This is primarily inspired by > the phylink documentation [1], which uses this trick extensively. > > [1] > https://www.kernel.org/doc/html/latest/networking/kapi.html#c.phylink_mac_ops > > Signed-off-by: Sean Anderson <sean...@gmail.com> > Tested-by: Heinrich Schuchardt <xypron.g...@gmx.de> > --- > > Changes in v2: > - Clean up the argument list and descriptions > > doc/api/clk.rst | 6 ++ > include/clk-uclass.h | 187 +++++++++++++++++++++++++------------------ > 2 files changed, 115 insertions(+), 78 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> Oh yuk...