summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-12 16:44:30 +0200
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2019-03-17 08:48:16 +0100
commit8e44fc85060ec997e9c6f3c49a04274db6621d26 (patch)
tree4cda99d0e9659835dd87da3280730cc48aa1dfbb /include
parentb658a2113ba4d4b99e2a57926379b0c0b0c648ab (diff)
downloadlinux-8e44fc85060ec997e9c6f3c49a04274db6621d26.tar.gz
linux-8e44fc85060ec997e9c6f3c49a04274db6621d26.tar.bz2
linux-8e44fc85060ec997e9c6f3c49a04274db6621d26.zip
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')
-rw-r--r--include/misc/charlcd.h1
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 {
};
struct charlcd *charlcd_alloc(unsigned int drvdata_size);
+void charlcd_free(struct charlcd *lcd);
int charlcd_register(struct charlcd *lcd);
int charlcd_unregister(struct charlcd *lcd);