Bank of America said it is raising its minimum hourly wage to $22 an hour in 2022.