mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 23:22:56 +00:00
trivial: whitespace fixes in dell plugin
This commit is contained in:
parent
9bb952ac7e
commit
3b09e323c8
@ -180,8 +180,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(fu_dell_smi_obj, _dell_smi_obj_free);
|
|||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
fu_plugin_dell_match_dock_component(const gchar *query_str,
|
fu_plugin_dell_match_dock_component(const gchar *query_str,
|
||||||
efi_guid_t *guid_out,
|
efi_guid_t *guid_out,
|
||||||
const gchar **name_out)
|
const gchar **name_out)
|
||||||
{
|
{
|
||||||
const DOCK_DESCRIPTION list[] = {
|
const DOCK_DESCRIPTION list[] = {
|
||||||
{WD15_EC_GUID, WD15_EC_STR, EC_DESC},
|
{WD15_EC_GUID, WD15_EC_STR, EC_DESC},
|
||||||
@ -207,8 +207,8 @@ fu_plugin_dell_match_dock_component(const gchar *query_str,
|
|||||||
|
|
||||||
void
|
void
|
||||||
fu_plugin_dell_inject_fake_data (FuPlugin *plugin,
|
fu_plugin_dell_inject_fake_data (FuPlugin *plugin,
|
||||||
guint32 *output, guint16 vid, guint16 pid,
|
guint32 *output, guint16 vid, guint16 pid,
|
||||||
guint8 *buf)
|
guint8 *buf)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
|
|
||||||
@ -240,8 +240,8 @@ fu_plugin_dell_execute_smi (FuPlugin *plugin, fu_dell_smi_obj *smi)
|
|||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
fu_plugin_dell_execute_simple_smi (FuPlugin *plugin,
|
fu_plugin_dell_execute_simple_smi (FuPlugin *plugin,
|
||||||
guint16 class, guint16 select,
|
guint16 class, guint16 select,
|
||||||
guint32 *args, guint32 *out)
|
guint32 *args, guint32 *out)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
|
|
||||||
@ -259,7 +259,7 @@ fu_plugin_dell_execute_simple_smi (FuPlugin *plugin,
|
|||||||
|
|
||||||
static guint32
|
static guint32
|
||||||
fu_plugin_dell_get_res (FuPlugin *plugin,
|
fu_plugin_dell_get_res (FuPlugin *plugin,
|
||||||
fu_dell_smi_obj *smi, guint8 arg)
|
fu_dell_smi_obj *smi, guint8 arg)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
|
|
||||||
@ -329,7 +329,7 @@ fu_plugin_dell_get_version_format (void)
|
|||||||
|
|
||||||
static gchar *
|
static gchar *
|
||||||
fu_plugin_get_dock_key (FuPlugin *plugin,
|
fu_plugin_get_dock_key (FuPlugin *plugin,
|
||||||
GUsbDevice *device, const gchar *guid)
|
GUsbDevice *device, const gchar *guid)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
const gchar* platform_id;
|
const gchar* platform_id;
|
||||||
@ -343,9 +343,9 @@ fu_plugin_get_dock_key (FuPlugin *plugin,
|
|||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
fu_plugin_dock_node (FuPlugin *plugin, GUsbDevice *device,
|
fu_plugin_dock_node (FuPlugin *plugin, GUsbDevice *device,
|
||||||
guint8 type, const efi_guid_t *guid_raw,
|
guint8 type, const efi_guid_t *guid_raw,
|
||||||
const gchar *component_desc, const gchar *version,
|
const gchar *component_desc, const gchar *version,
|
||||||
gboolean updates_online)
|
gboolean updates_online)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
FuPluginDockItem *item;
|
FuPluginDockItem *item;
|
||||||
@ -409,8 +409,8 @@ fu_plugin_dock_node (FuPlugin *plugin, GUsbDevice *device,
|
|||||||
|
|
||||||
void
|
void
|
||||||
fu_plugin_dell_device_added_cb (GUsbContext *ctx,
|
fu_plugin_dell_device_added_cb (GUsbContext *ctx,
|
||||||
GUsbDevice *device,
|
GUsbDevice *device,
|
||||||
FuPlugin *plugin)
|
FuPlugin *plugin)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
AsVersionParseFlag parse_flags;
|
AsVersionParseFlag parse_flags;
|
||||||
@ -610,8 +610,8 @@ fu_plugin_dell_device_added_cb (GUsbContext *ctx,
|
|||||||
|
|
||||||
void
|
void
|
||||||
fu_plugin_dell_device_removed_cb (GUsbContext *ctx,
|
fu_plugin_dell_device_removed_cb (GUsbContext *ctx,
|
||||||
GUsbDevice *device,
|
GUsbDevice *device,
|
||||||
FuPlugin *plugin)
|
FuPlugin *plugin)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
FuPluginDockItem *item;
|
FuPluginDockItem *item;
|
||||||
@ -959,10 +959,10 @@ fu_plugin_unlock (FuPlugin *plugin, FuDevice *device, GError **error)
|
|||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
fu_plugin_update_offline (FuPlugin *plugin,
|
fu_plugin_update_offline (FuPlugin *plugin,
|
||||||
FuDevice *device,
|
FuDevice *device,
|
||||||
GBytes *blob_fw,
|
GBytes *blob_fw,
|
||||||
FwupdInstallFlags flags,
|
FwupdInstallFlags flags,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||||
g_autoptr(fwup_resource_iter) iter = NULL;
|
g_autoptr(fwup_resource_iter) iter = NULL;
|
||||||
@ -1052,8 +1052,8 @@ fu_plugin_update_offline (FuPlugin *plugin,
|
|||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
fu_plugin_dell_toggle_dock_mode (FuPlugin *plugin,
|
fu_plugin_dell_toggle_dock_mode (FuPlugin *plugin,
|
||||||
guint32 new_mode, guint32 dock_location,
|
guint32 new_mode, guint32 dock_location,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
g_autofree guint32 *input = NULL;
|
g_autofree guint32 *input = NULL;
|
||||||
g_autofree guint32 *output = NULL;
|
g_autofree guint32 *output = NULL;
|
||||||
@ -1084,10 +1084,10 @@ fu_plugin_dell_toggle_dock_mode (FuPlugin *plugin,
|
|||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
fu_plugin_update_online (FuPlugin *plugin,
|
fu_plugin_update_online (FuPlugin *plugin,
|
||||||
FuDevice *device,
|
FuDevice *device,
|
||||||
GBytes *blob_fw,
|
GBytes *blob_fw,
|
||||||
FwupdInstallFlags flags,
|
FwupdInstallFlags flags,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
guint32 dock_location;
|
guint32 dock_location;
|
||||||
const gchar *device_guid_str = NULL;
|
const gchar *device_guid_str = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user