lib: Remove fpi_driver_to_img_driver() from drivers API
It's only used internally to the library.
This commit is contained in:
parent
933fab6ed4
commit
17577175f8
1 changed files with 0 additions and 7 deletions
|
@ -39,10 +39,6 @@
|
|||
|
||||
#define array_n_elements(array) G_N_ELEMENTS(array)
|
||||
|
||||
#define container_of(ptr, type, member) ({ \
|
||||
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||
(type *)( (char *)__mptr - offsetof(type,member) );})
|
||||
|
||||
#define fp_dbg g_debug
|
||||
#define fp_info g_debug
|
||||
#define fp_warn g_warning
|
||||
|
@ -233,9 +229,6 @@ extern GSList *opened_devices;
|
|||
|
||||
void fpi_img_driver_setup(struct fp_img_driver *idriver);
|
||||
|
||||
#define fpi_driver_to_img_driver(drv) \
|
||||
container_of((drv), struct fp_img_driver, driver)
|
||||
|
||||
struct fp_dscv_dev {
|
||||
struct libusb_device *udev;
|
||||
struct fp_driver *drv;
|
||||
|
|
Loading…
Reference in a new issue