diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-12-30 16:02:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-30 17:44:06 +0100 |
commit | 5207fb2f311b0c45a9abfa1c84b7a7b657ffa550 (patch) | |
tree | 316ddaf26e9fda72b94b5e2a56cd3632e7042b54 /arch/sparc/lib | |
parent | 0880603c8401505d237c8bfd29538a064e3aaf0f (diff) | |
download | linux-5207fb2f311b0c45a9abfa1c84b7a7b657ffa550.tar.gz linux-5207fb2f311b0c45a9abfa1c84b7a7b657ffa550.tar.bz2 linux-5207fb2f311b0c45a9abfa1c84b7a7b657ffa550.zip |
counter: Provide a wrapper to access device private data
For now this just wraps accessing struct counter_device::priv. However
this is about to change and converting drivers to this helper
individually makes fixing device lifetime issues result in easier to
review patches.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211230150300.72196-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/lib')
0 files changed, 0 insertions, 0 deletions