mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
0580422560
Instead of unconditionally returning zero, let simatic_ipc_batt_remove() return no value. This is a preparation to convert the drivers using this function to struct platform_driver::remove_new(). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230927081040.2198742-24-u.kleine-koenig@pengutronix.de Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
21 lines
496 B
C
21 lines
496 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Siemens SIMATIC IPC driver for CMOS battery monitoring
|
|
*
|
|
* Copyright (c) Siemens AG, 2023
|
|
*
|
|
* Author:
|
|
* Henning Schild <henning.schild@siemens.com>
|
|
*/
|
|
|
|
#ifndef _SIMATIC_IPC_BATT_H
|
|
#define _SIMATIC_IPC_BATT_H
|
|
|
|
int simatic_ipc_batt_probe(struct platform_device *pdev,
|
|
struct gpiod_lookup_table *table);
|
|
|
|
void simatic_ipc_batt_remove(struct platform_device *pdev,
|
|
struct gpiod_lookup_table *table);
|
|
|
|
#endif /* _SIMATIC_IPC_BATT_H */
|