auxdisplay: charlcd: Refactor memory allocation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common"drivers/ drivers/ drivers/ +2 more | +9 | 9 replies | |
| 2/7 | auxdisplay: lcd2s: Allocate memory for custom data in charlcd_alloc()drivers/ | +4 | 1 reply | |
| 3/7 | auxdisplay: hd44780: Introduce hd44780_common_free()drivers/ drivers/ | +8 | 1 reply | |
| 4/7 | auxdisplay: hd44780: Make use of hd44780_common_free()drivers/ | +2 | 2 replies | |
| 5/7 | auxdisplay: panel: Make use of hd44780_common_free()drivers/ | +2 | 3 replies | |
| 6/7 | auxdisplay: hd44780: Call charlcd_alloc() from hd44780_common_alloc()drivers/ drivers/ drivers/ +1 more | +21 | 6 replies | |
| 7/7 | auxdisplay: hd44780: Rename hd to hdc in hd44780_common_alloc()drivers/ | +6 | 0 replies |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Geert Uytterhoeven |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/7] auxdisplay: charlcd: Refactor memory allocation
The users of charlcd_alloc() call for additional memory allocation. We may do it at the time of the main call as many other APIs do. For this partially revert the change that brought us to the current state of affairs, and refactor the code based on the original implementation.
Andy Shevchenko (7):
auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to
struct hd44780_common"
auxdisplay: lcd2s: Allocate memory for custom data in charlcd_alloc()
auxdisplay: hd44780: Introduce hd44780_common_free()
auxdisplay: hd44780: Make use of hd44780_common_free()
auxdisplay: panel: Make use of hd44780_common_free()
auxdisplay: hd44780: Call charlcd_alloc() from hd44780_common_alloc()
auxdisplay: hd44780: Rename hd to hdc in hd44780_common_alloc()
drivers/auxdisplay/charlcd.c | 5 +++-- drivers/auxdisplay/charlcd.h | 5 +++-- drivers/auxdisplay/hd44780.c | 19 ++++++------------- drivers/auxdisplay/hd44780_common.c | 24 ++++++++++++++++-------- drivers/auxdisplay/hd44780_common.h | 4 +++- drivers/auxdisplay/lcd2s.c | 12 ++++-------- drivers/auxdisplay/panel.c | 17 +++++------------ 7 files changed, 40 insertions(+), 46 deletions(-)
Signature · 1 line
2.45.1.3035.g276e886db78b