Can I use a master cylinder off a car with disc/drum on a disc/disc conversion?

Just pull the residual pressure valve out of the drum side
I assume that is inside the M/C itself? Is there a diagram somewhere showing this? Thanks!