Wii U gamepad and PS3 controller DO NOT have the same port. the Wii U gamepad uses a slightly different plug. The Wii U Pro controller on the other hand does use mini USB just like the PS3 controller.
If you were to force the Wii U gamepad's charger plug into a PS3 controller it would not work at the PS3 controller needs a special connection to charge.