fix error from change 3606

When I changed the definition of device_perform_action() in response
to a reviewer comment, I forgot to change this implementation.
1 file changed