hd44780.c (3eb66e91a25497065c5322b1268cbc3953642227) hd44780.c (41c8d0adf3c4df1867d98cee4a2c4531352a33ad)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HD44780 Character LCD driver for Linux
4 *
5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
6 * Copyright (C) 2016-2017 Glider bvba
7 */
8

--- 266 unchanged lines hidden (view full) ---

275 return ret;
276}
277
278static int hd44780_remove(struct platform_device *pdev)
279{
280 struct charlcd *lcd = platform_get_drvdata(pdev);
281
282 charlcd_unregister(lcd);
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HD44780 Character LCD driver for Linux
4 *
5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
6 * Copyright (C) 2016-2017 Glider bvba
7 */
8

--- 266 unchanged lines hidden (view full) ---

275 return ret;
276}
277
278static int hd44780_remove(struct platform_device *pdev)
279{
280 struct charlcd *lcd = platform_get_drvdata(pdev);
281
282 charlcd_unregister(lcd);
283
284 kfree(lcd);
283 return 0;
284}
285
286static const struct of_device_id hd44780_of_match[] = {
287 { .compatible = "hit,hd44780" },
288 { /* sentinel */ }
289};
290MODULE_DEVICE_TABLE(of, hd44780_of_match);

--- 14 unchanged lines hidden ---
285 return 0;
286}
287
288static const struct of_device_id hd44780_of_match[] = {
289 { .compatible = "hit,hd44780" },
290 { /* sentinel */ }
291};
292MODULE_DEVICE_TABLE(of, hd44780_of_match);

--- 14 unchanged lines hidden ---