![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Maxim MAX197 A/D Converter Driver 0004 * 0005 * Copyright (c) 2012 Savoir-faire Linux Inc. 0006 * Vivien Didelot <vivien.didelot@savoirfairelinux.com> 0007 * 0008 * For further information, see the Documentation/hwmon/max197.rst file. 0009 */ 0010 0011 #ifndef _PDATA_MAX197_H 0012 #define _PDATA_MAX197_H 0013 0014 /** 0015 * struct max197_platform_data - MAX197 connectivity info 0016 * @convert: Function used to start a conversion with control byte ctrl. 0017 * It must return the raw data, or a negative error code. 0018 */ 0019 struct max197_platform_data { 0020 int (*convert)(u8 ctrl); 0021 }; 0022 0023 #endif /* _PDATA_MAX197_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |