main: Indentation changes in fake light sensor driver

This commit is contained in:
Bastien Nocera
2015-03-13 13:56:18 +01:00
parent b9c2b44ed8
commit c6d688f13d

View File

@@ -20,7 +20,7 @@ typedef struct DrvData {
ReadingsUpdateFunc callback_func; ReadingsUpdateFunc callback_func;
gpointer user_data; gpointer user_data;
guint timeout_id; guint timeout_id;
} DrvData; } DrvData;
static DrvData *drv_data = NULL; static DrvData *drv_data = NULL;
@@ -69,8 +69,8 @@ first_values (gpointer user_data)
static gboolean static gboolean
fake_light_open (GUdevDevice *device, fake_light_open (GUdevDevice *device,
ReadingsUpdateFunc callback_func, ReadingsUpdateFunc callback_func,
gpointer user_data) gpointer user_data)
{ {
drv_data = g_new0 (DrvData, 1); drv_data = g_new0 (DrvData, 1);
drv_data->callback_func = callback_func; drv_data->callback_func = callback_func;