请问高手devote oneself to do 与devote oneself doing 用法上有何区别

问题描述:

请问高手devote oneself to do 与devote oneself doing 用法上有何区别
he devoted himself to----(study,studying) the law.该如何选?

devote oneself to (doing) sth.
致力于,献身于
句型:devote one’s time/life/energy to (doing) sth
应该选studying