Commit b159afb2 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

OMAP4 Syslink ducati driver checkpatch fix

This patch fizes checkpatch errors in
ducati driver files.
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent 6f8fff39
...@@ -769,7 +769,7 @@ int notify_ducatidrv_unregister_event( ...@@ -769,7 +769,7 @@ int notify_ducatidrv_unregister_event(
if (list_empty((struct list_head *) if (list_empty((struct list_head *)
&event_list[event_no].listeners) == true) { &event_list[event_no].listeners) == true) {
clear_bit(event_no, (unsigned long *) clear_bit(event_no, (unsigned long *)
&ctrl_ptr->proc_ctrl[driver_object->self_id].reg_mask. &ctrl_ptr->proc_ctrl[driver_object->self_id].reg_mask.
mask); mask);
self_event_chart = ctrl_ptr->proc_ctrl[driver_object->self_id]. self_event_chart = ctrl_ptr->proc_ctrl[driver_object->self_id].
...@@ -971,7 +971,7 @@ int notify_ducatidrv_disable_event( ...@@ -971,7 +971,7 @@ int notify_ducatidrv_disable_event(
gate_handle) != 0) gate_handle) != 0)
WARN_ON(1); WARN_ON(1);
clear_bit(event_no,(unsigned long *) clear_bit(event_no, (unsigned long *)
&driver_object->ctrl_ptr->proc_ctrl[driver_object->self_id]. &driver_object->ctrl_ptr->proc_ctrl[driver_object->self_id].
reg_mask.enable_mask); reg_mask.enable_mask);
/* Leave critical section protection. */ /* Leave critical section protection. */
...@@ -999,7 +999,7 @@ int notify_ducatidrv_enable_event(struct notify_driver_object *handle, ...@@ -999,7 +999,7 @@ int notify_ducatidrv_enable_event(struct notify_driver_object *handle,
gate_handle) != 0) gate_handle) != 0)
WARN_ON(1); WARN_ON(1);
set_bit(event_no, (unsigned long *) set_bit(event_no, (unsigned long *)
&driver_object->ctrl_ptr->proc_ctrl[driver_object->self_id]. &driver_object->ctrl_ptr->proc_ctrl[driver_object->self_id].
reg_mask.enable_mask); reg_mask.enable_mask);
...@@ -1052,7 +1052,7 @@ static void notify_ducatidrv_isr(void *ref_data) ...@@ -1052,7 +1052,7 @@ static void notify_ducatidrv_isr(void *ref_data)
/* Determine the current high priority event.*/ /* Determine the current high priority event.*/
/* Check if the event is set and enabled.*/ /* Check if the event is set and enabled.*/
if (self_event_chart[event_no].flag == UP && if (self_event_chart[event_no].flag == UP &&
test_bit(event_no, test_bit(event_no,
(unsigned long *) &proc_ctrl_ptr->reg_mask.enable_mask) (unsigned long *) &proc_ctrl_ptr->reg_mask.enable_mask)
&& (event_no != (int) -1)) { && (event_no != (int) -1)) {
......
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