staging: fbtft: update outdated struct fbtft_ops comment
Subsystems (3)
PATCH 1/1 staging: fbtft: update outdated struct fbtft_ops comment
Correct struct fbtft_ops outdated kernel-doc comment: 1) update field write_reg to write_register; 2) remove non-existing field free_gpios.
Signed-off-by Cen Zhang (Microsoft) <[email protected]>
--- drivers/staging/fbtft/fbtft.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/fbtft/fbtft.h +1 -2
@@ -37,7 +37,7 @@ struct fbtft_par;* @write: Writes to interface bus * @read: Reads from interface bus * @write_vmem: Writes video memory to display -* @write_reg: Writes to controller register +* @write_register: Writes to controller register * @set_addr_win: Set the GRAM update window * @reset: Reset the LCD controller * @mkdirty: Marks display lines for update
@@ -46,7 +46,6 @@ struct fbtft_par;* @blank: Blank the display (optional) * @request_gpios_match: Do pinname to gpio matching * @request_gpios: Request gpios from the kernel -* @free_gpios: Free previously requested gpios * @verify_gpios: Verify that necessary gpios is present (optional) * @register_backlight: Used to register backlight device (optional) * @unregister_backlight: Unregister backlight device (optional)
Signature · 1 line
2.55.0
Quoted 4 lines · Cen Zhang (Microsoft)
Correct struct
fbtft_opsoutdated kernel-doc comment: 1) update fieldwrite_regtowrite_register; 2) remove non-existing fieldfree_gpios.
Reviewed-by Andy Shevchenko <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko