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

Commit a7b98b67 authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Dave Airlie
Browse files

drm/sis: fixed brace and spacing coding style issues



Fixed brace and spacing coding style issues.

Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent bc5e9d6a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -47,9 +47,8 @@ static int sis_driver_load(struct drm_device *dev, unsigned long chipset)
	dev->dev_private = (void *)dev_priv;
	dev_priv->chipset = chipset;
	ret = drm_sman_init(&dev_priv->sman, 2, 12, 8);
	if (ret) {
	if (ret)
		kfree(dev_priv);
	}

	return ret;
}
+6 −8
Original line number Diff line number Diff line
@@ -225,10 +225,9 @@ static drm_local_map_t *sis_reg_init(struct drm_device *dev)
		map = entry->map;
		if (!map)
			continue;
		if (map->type == _DRM_REGISTERS) {
		if (map->type == _DRM_REGISTERS)
			return map;
	}
	}
	return NULL;
}

@@ -312,9 +311,8 @@ void sis_reclaim_buffers_locked(struct drm_device * dev,
		return;
	}

	if (dev->driver->dma_quiescent) {
	if (dev->driver->dma_quiescent)
		dev->driver->dma_quiescent(dev);
	}

	drm_sman_owner_cleanup(&dev_priv->sman, (unsigned long)file_priv);
	mutex_unlock(&dev->struct_mutex);