aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc.c
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-08-08 15:57:50 +0200
committerSimon Busch <morphis@gravedo.de>2012-08-08 15:57:50 +0200
commit7a9ad8c635c3cc8993aaa4c1509eea8745d56069 (patch)
tree46fba484b2ff69c7b30ca90799a17d48a4d01240 /samsung-ipc/ipc.c
parent7d6f56c4f67416658c0b490d828ffe0938381f5f (diff)
downloadexternal_libsamsung-ipc-7a9ad8c635c3cc8993aaa4c1509eea8745d56069.zip
external_libsamsung-ipc-7a9ad8c635c3cc8993aaa4c1509eea8745d56069.tar.gz
external_libsamsung-ipc-7a9ad8c635c3cc8993aaa4c1509eea8745d56069.tar.bz2
Simplify open/close handler signature
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r--samsung-ipc/ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index 9149705..ee27c4d 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -331,7 +331,7 @@ int ipc_client_open(struct ipc_client *client)
type = client->type;
- return client->handlers->open(&type, 0, client->handlers->open_data);
+ return client->handlers->open(type, client->handlers->open_data);
}
int ipc_client_close(struct ipc_client *client)
@@ -341,7 +341,7 @@ int ipc_client_close(struct ipc_client *client)
client->handlers->close == NULL)
return -1;
- return client->handlers->close(NULL, 0, client->handlers->close_data);
+ return client->handlers->close(client->handlers->close_data);
}
int ipc_client_power_on(struct ipc_client *client)