drivers: Simplify headers

Remove all the headers already included through "fp_internal.h" such as
<libusb.h> and <errno.h>, include "assembling.h" and "driver_ids.h" there
as well to avoid doing it in (almost) every driver.
This commit is contained in:
Bastien Nocera
2018-05-24 17:02:15 +02:00
parent 501020921e
commit 994061af44
23 changed files with 18 additions and 200 deletions

View File

@@ -21,12 +21,6 @@
#include "fp_internal.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "driver_ids.h"
/* Input-Output usb endpoint */
#define EP_IN(n) (n | LIBUSB_ENDPOINT_IN)
#define EP_OUT(n) (n | LIBUSB_ENDPOINT_OUT)