summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mfd-core.c
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2013-04-03 08:02:08 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-11 16:29:04 +0200
commitddf19d206fe4ba4e7dc9629bc14025ba50915886 (patch)
treed363ae564f636fc10df8dfd475695ef5a9ad7b28 /drivers/mfd/mfd-core.c
parent140ef7f6b08ff8ebfe5da619036c21a6382d7df9 (diff)
downloadblackbird-op-linux-ddf19d206fe4ba4e7dc9629bc14025ba50915886.tar.gz
blackbird-op-linux-ddf19d206fe4ba4e7dc9629bc14025ba50915886.zip
NFC: pn533: Simplify __pn533_send_frame_async
In all cases (send_cmd_async, send_data_async and send_sync) pn533_send_async_complete() handles all responses internally, so there is no need to pass this as a callback. Cmd context is passed to __pn533_send_frame_async in all the cases as well. It's already kept in struct pn533 which is available all the time the device is attached. So we can make use of it instead. Therefore, cmd_complete and cmd_complete_arg are no needed any more. Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/mfd-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud