As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
(CAN) AFTER TAKEOFF, 10 MINUTES INTO FLIGHT SMOKE IN COCKPIT. RETURNED TO DESTINATION OF TAKEOFF. UPON MAINTENANCE INVESTIGATION FOUND SEVERAL WIRES MELTED FROM THE FLAP MOTOR SYSTEM. FURTHER INVESTIGATION REQUIRED, WILL UPDATE AT A LATER DATE. INITIAL INVESTIGATION IS LEADING TO FLAP UP LIMIT SWITCH AND FLAP MOTOR CIRCUIT BREAKER AS FAULTY.