Ripe banana generally tastes sweeter than pumpkin. So if you want to completely replace the pumpkin with bananas, add a tablespoon or two of sugar (don't add too much or you risk losing the consistency of the batter).