Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92914cc8 authored by Marek Belisko's avatar Marek Belisko Committed by Greg Kroah-Hartman
Browse files

staging: ft1000: Fix coding style in ft1000NotifyProc.

parent 1c462824
Loading
Loading
Loading
Loading
+15 −16
Original line number Diff line number Diff line
@@ -174,9 +174,7 @@ ft1000NotifyProc (struct notifier_block *this, unsigned long event, void *ptr)

	info = netdev_priv(dev);


  switch (event)
    {
	switch (event) {
	case NETDEV_CHANGENAME:
		remove_proc_entry(info->netdevname, info->ft1000_proc_dir);
		ft1000_proc_file = create_proc_read_entry(dev->name, 0644,
@@ -185,11 +183,12 @@ info = netdev_priv(dev);
		snprintf(info->netdevname, IFNAMSIZ, "%s", dev->name);
		break;
	}

	return NOTIFY_DONE;
}

static struct notifier_block ft1000_netdev_notifier = {
  .notifier_call = ft1000NotifyProc
	.notifier_call = ft1000NotifyProc,
};