Commit 9a6f3bca authored by Hari Kanigeri's avatar Hari Kanigeri

SYSLINK: notify-remove white spaces

This patch removes white spaces in function headers
of the notify ducati module
Signed-off-by: default avatarC A Subramaniam <subramaniam.ca@ti.com>
parent 51ce7c97
......@@ -63,7 +63,7 @@ static void notify_ducatidrv_isr(void *ref_data);
/*
* brief NotifyDriverShm instance object.
* brief Notify ducati driver instance object.
*/
struct notify_ducatidrv_object {
struct notify_ducatidrv_params params;
......@@ -78,8 +78,8 @@ struct notify_ducatidrv_object {
/*
* brief Defines the NotifyDriverShm state object, which contains all the
* module specific information.
* brief Defines the notify_ducatidrv state object, which contains all
* the module specific information.
*/
struct notify_ducatidrv_module {
struct notify_ducatidrv_config cfg;
......@@ -105,7 +105,7 @@ static struct notify_ducatidrv_module notify_ducatidriver_state = {
};
/*
*This function searchs for a element the List.
* This function searchs for a element the List.
*/
static void notify_ducatidrv_qsearch_elem(struct list_head *list,
struct notify_drv_eventlistner *check_obj,
......@@ -113,11 +113,11 @@ static void notify_ducatidrv_qsearch_elem(struct list_head *list,
/*
* brief Get the default configuration for the NotifyDriverShm module.
* brief Get the default configuration for the notify_ducatidrv module.
*
* This function can be called by the application to get their
* configuration parameter to NotifyDriverShm_setup filled in by
* the NotifyDriverShm module with the default parameters. If the
* configuration parameter to notify_ducatidrv_setup filled in by
* the notify_ducatidrv module with the default parameters. If the
* user does not wish to make any change in the default parameters,
* this API is not required to be called.
*
......@@ -133,12 +133,12 @@ void notify_ducatidrv_getconfig(struct notify_ducatidrv_config *cfg)
EXPORT_SYMBOL(notify_ducatidrv_getconfig);
/*
* brief Function to open a handle to an existing NotifyDriverShm object
* brief Function to open a handle to an existing notify_ducatidrv_object
* handling the procId.
*
* This function returns a handle to an existing NotifyDriverShm
* This function returns a handle to an existing notify_ducatidrv
* instance created for this procId. It enables other entities to
* access and use this NotifyDriverShm instance.
* access and use this notify_ducatidrv instance.
*/
int notify_ducatidrv_open(char *driver_name,
struct notify_driver_object **handle_ptr)
......@@ -160,10 +160,10 @@ int notify_ducatidrv_open(char *driver_name,
/*
* brief Function to close this handle to the NotifyDriverShm instance.
* brief Function to close this handle to the notify_ducatidrv instance.
*
* This function closes the handle to the NotifyDriverShm instance
* obtained through NotifyDriverShm_open call made earlier.
* This function closes the handle to the notify_ducatidrv instance
* obtained through notify_ducatidrv_open call made earlier.
*/
int notify_ducatidrv_close(struct notify_driver_object **handle_ptr)
{
......@@ -178,7 +178,7 @@ int notify_ducatidrv_close(struct notify_driver_object **handle_ptr)
/*
* brief Function to initialize the parameters for this NotifyDriver
* brief Function to initialize the parameters for this notify_ducatidrv
* instance.
*/
void notify_ducatidrv_params_init(struct notify_driver_object *handle,
......@@ -191,7 +191,7 @@ void notify_ducatidrv_params_init(struct notify_driver_object *handle,
&(notify_ducatidriver_state.def_inst_params),
sizeof(struct notify_ducatidrv_params));
} else {
/*Return updated NotifyDriverShm instance specific parameters*/
/*Return updated notify_ducatidrv instance specific parameters*/
driver_obj = (struct notify_ducatidrv_object *)
handle->driver_object;
memcpy(params, &(driver_obj->params),
......@@ -203,7 +203,7 @@ EXPORT_SYMBOL(notify_ducatidrv_params_init);
/*
* brief Function to create an instance of this NotifyDriver.
* brief Function to create an instance of this Notify ducati driver.
*
*/
struct notify_driver_object *notify_ducatidrv_create(char *driver_name,
......@@ -280,7 +280,7 @@ struct notify_driver_object *notify_ducatidrv_create(char *driver_name,
/*retval NULL Failed to register driver with Notify module!*/
status = -EINVAL;
} else {
/* Allocate memory for the NotifyDriverShm_Object object. */
/* Allocate memory for the notify_ducatidrv_object object. */
drv_handle->driver_object = driver_obj =
kmalloc(sizeof(struct notify_ducatidrv_object),
GFP_ATOMIC);
......@@ -530,7 +530,7 @@ EXPORT_SYMBOL(notify_ducatidrv_delete);
/*
* brief Destroy the NotifyDriverShm module.
* brief Destroy the notify_ducatidrv module.
*
*/
int notify_ducatidrv_destroy(void)
......@@ -551,18 +551,18 @@ EXPORT_SYMBOL(notify_ducatidrv_destroy);
/*
* brief Setup the NotifyDriverShm module.
* brief Setup the notify_ducatidrv module.
*
* This function sets up the NotifyDriverShm module. This function
* This function sets up the notify_ducatidrv module. This function
* must be called before any other instance-level APIs can be
* invoked.
* Module-level configuration needs to be provided to this
* function. If the user wishes to change some specific config
* parameters, then NotifyDriverShm_getConfig can be called to get
* parameters, then notify_ducatidrv_getconfig can be called to get
* the configuration filled with the default values. After this,
* only the required configuration values can be changed. If the
* user does not wish to make any change in the default parameters,
* the application can simply call NotifyDriverShm_setup with NULL
* the application can simply call notify_ducatidrv_setup with NULL
* parameters. The default parameters would get automatically used.
*/
int notify_ducatidrv_setup(struct notify_ducatidrv_config *cfg)
......@@ -598,7 +598,7 @@ EXPORT_SYMBOL(notify_ducatidrv_setup);
/*
* brief egister a callback for an event with the Notify driver.
* brief register a callback for an event with the Notify driver.
*
*/
int notify_ducatidrv_register_event(
......@@ -931,8 +931,8 @@ void *notify_ducatidrv_disable(struct notify_driver_object *handle)
}
/*
* brief Restore the Notify driver to the state before the last disable was
*called.
* brief Restore the notify_ducatidrv to the state before the
* last disable was called.
*
*/
int notify_ducatidrv_restore(struct notify_driver_object *handle,
......@@ -951,7 +951,7 @@ int notify_ducatidrv_restore(struct notify_driver_object *handle,
}
/*
* brief Disable a specific event for this Notify driver.
* brief Disable a specific event for this Notify ducati driver
*
*/
int notify_ducatidrv_disable_event(
......@@ -981,7 +981,7 @@ int notify_ducatidrv_disable_event(
}
/*
* brief Enable a specific event for this Notify driver.
* brief Enable a specific event for this Notify ducati driver
*
*/
int notify_ducatidrv_enable_event(struct notify_driver_object *handle,
......@@ -1009,7 +1009,7 @@ int notify_ducatidrv_enable_event(struct notify_driver_object *handle,
}
/*
* brief Print debug information for the Notify driver.
* brief Print debug information for the Notify ducati driver
*
*/
int notify_ducatidrv_debug(struct notify_driver_object *handle)
......@@ -1095,7 +1095,7 @@ static void notify_ducatidrv_isr(void *ref_data)
EXPORT_SYMBOL(notify_ducatidrv_isr);
/*
* bref This function searchs for a element the List.
* brief This function searchs for a element the List.
*
*/
static void notify_ducatidrv_qsearch_elem(struct list_head *list,
......
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