diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-03-12 10:44:30 -0400 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2019-03-17 03:48:16 -0400 |
commit | 8e44fc85060ec997e9c6f3c49a04274db6621d26 (patch) | |
tree | 4cda99d0e9659835dd87da3280730cc48aa1dfbb /include/misc | |
parent | b658a2113ba4d4b99e2a57926379b0c0b0c648ab (diff) |
auxdisplay: charlcd: Introduce charlcd_free() helper
The charlcd_free() is a counterpart to charlcd_alloc()
and should be called symmetrically on tear down.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'include/misc')
-rw-r--r-- | include/misc/charlcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/misc/charlcd.h b/include/misc/charlcd.h index 23f61850f363..1832402324ce 100644 --- a/include/misc/charlcd.h +++ b/include/misc/charlcd.h | |||
@@ -35,6 +35,7 @@ struct charlcd_ops { | |||
35 | }; | 35 | }; |
36 | 36 | ||
37 | struct charlcd *charlcd_alloc(unsigned int drvdata_size); | 37 | struct charlcd *charlcd_alloc(unsigned int drvdata_size); |
38 | void charlcd_free(struct charlcd *lcd); | ||
38 | 39 | ||
39 | int charlcd_register(struct charlcd *lcd); | 40 | int charlcd_register(struct charlcd *lcd); |
40 | int charlcd_unregister(struct charlcd *lcd); | 41 | int charlcd_unregister(struct charlcd *lcd); |