Jonathan McKernan, an attorney who specialized in banking and consumer financial laws, has won US Senate confirmation to the top domestic finance job at the Treasury Department.