printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / platform_data / max197.h
blob03ef46f9cd651a0a60179268e368306cd5526d41
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Maxim MAX197 A/D Converter Driver
5 * Copyright (c) 2012 Savoir-faire Linux Inc.
6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
8 * For further information, see the Documentation/hwmon/max197.rst file.
9 */
11 #ifndef _PDATA_MAX197_H
12 #define _PDATA_MAX197_H
14 /**
15 * struct max197_platform_data - MAX197 connectivity info
16 * @convert: Function used to start a conversion with control byte ctrl.
17 * It must return the raw data, or a negative error code.
19 struct max197_platform_data {
20 int (*convert)(u8 ctrl);
23 #endif /* _PDATA_MAX197_H */