]> git.ipfire.org Git - thirdparty/linux.git/commit
auxdisplay: linedisp: encapsulate container_of usage within to_linedisp
authorJean-François Lessard <jefflessard3@gmail.com>
Thu, 18 Sep 2025 12:13:12 +0000 (08:13 -0400)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Oct 2025 16:46:01 +0000 (18:46 +0200)
commit66c93809487e62c4f59ef08625a3fbc0a7de6dd2
treeea88e34907c28c982c16f76a94a11b4b92e8af71
parent1cdaf601ef2e34c218f091df16e8278f6204d770
auxdisplay: linedisp: encapsulate container_of usage within to_linedisp

Replace direct container_of() calls with a to_linedisp() helper function
throughout the line-display auxdisplay library module. This abstraction
prepares for upcoming dual-mode support where linedisp context retrieval
will need to handle both dedicated child devices and attached parent
auxdisplay devices.

No functional changes in this patch.

Signed-off-by: Jean-François Lessard <jefflessard3@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/line-display.c