Commit 7bd01a08 authored by Mamta Shukla's avatar Mamta Shukla Committed by Daniel Vetter

drm: Shift * to be adjacent to pointer name

Shift * to be adjacent to pointer name to follow Linux coding style.
Issue found with checkpatch.pl
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: default avatarMamta Shukla <mamtashukla555@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181015212644.GA28579@armorer
parent 2f20fa8d
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#endif #endif
static void *agp_remap(unsigned long offset, unsigned long size, static void *agp_remap(unsigned long offset, unsigned long size,
struct drm_device * dev) struct drm_device *dev)
{ {
unsigned long i, num_pages = unsigned long i, num_pages =
PAGE_ALIGN(size) / PAGE_SIZE; PAGE_ALIGN(size) / PAGE_SIZE;
...@@ -94,26 +94,26 @@ static void *agp_remap(unsigned long offset, unsigned long size, ...@@ -94,26 +94,26 @@ static void *agp_remap(unsigned long offset, unsigned long size,
} }
/** Wrapper around agp_free_memory() */ /** Wrapper around agp_free_memory() */
void drm_free_agp(struct agp_memory * handle, int pages) void drm_free_agp(struct agp_memory *handle, int pages)
{ {
agp_free_memory(handle); agp_free_memory(handle);
} }
/** Wrapper around agp_bind_memory() */ /** Wrapper around agp_bind_memory() */
int drm_bind_agp(struct agp_memory * handle, unsigned int start) int drm_bind_agp(struct agp_memory *handle, unsigned int start)
{ {
return agp_bind_memory(handle, start); return agp_bind_memory(handle, start);
} }
/** Wrapper around agp_unbind_memory() */ /** Wrapper around agp_unbind_memory() */
int drm_unbind_agp(struct agp_memory * handle) int drm_unbind_agp(struct agp_memory *handle)
{ {
return agp_unbind_memory(handle); return agp_unbind_memory(handle);
} }
#else /* CONFIG_AGP */ #else /* CONFIG_AGP */
static inline void *agp_remap(unsigned long offset, unsigned long size, static inline void *agp_remap(unsigned long offset, unsigned long size,
struct drm_device * dev) struct drm_device *dev)
{ {
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment