Name

parport_put_port — decrement a port's reference count

Synopsis

void parport_put_port (struct parport * port);
 

Arguments

port

the port

Description

This should be called once for each call to parport_get_port, once the port is no longer needed. When the reference count reaches zero (port is no longer used), free_port is called.